DataPackage Class
The package for a database project.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Shell.Package
Microsoft.VisualStudio.Data.Schema.Package.Project.Internal.ProjectPackage
Microsoft.VisualStudio.Data.Schema.Package.UI.DataPackage
Namespace: Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
<DefaultRegistryRootAttribute("Software\Microsoft\VisualStudio\10.0")> _
<ProvideLoadKeyAttribute("Professional", "2.0", "VSTS for Database Professionals", _
"Microsoft Corporation", )> _
<ProvideMenuResourceAttribute(, )> _
<GuidAttribute("068E2583-0872-403B-AF4C-6C2A8F2D8C3E")> _
<PackageRegistrationAttribute(UseManagedResourcesOnly := False)> _
Public NotInheritable Class DataPackage _
Inherits ProjectPackage _
Implements IOleCommandTarget
[CLSCompliantAttribute(false)]
[DefaultRegistryRootAttribute("Software\Microsoft\VisualStudio\10.0")]
[ProvideLoadKeyAttribute("Professional", "2.0", "VSTS for Database Professionals",
"Microsoft Corporation", )]
[ProvideMenuResourceAttribute(, )]
[GuidAttribute("068E2583-0872-403B-AF4C-6C2A8F2D8C3E")]
[PackageRegistrationAttribute(UseManagedResourcesOnly = false)]
public sealed class DataPackage : ProjectPackage,
IOleCommandTarget
[CLSCompliantAttribute(false)]
[DefaultRegistryRootAttribute(L"Software\Microsoft\VisualStudio\10.0")]
[ProvideLoadKeyAttribute(L"Professional", L"2.0", L"VSTS for Database Professionals",
L"Microsoft Corporation", )]
[ProvideMenuResourceAttribute(, )]
[GuidAttribute(L"068E2583-0872-403B-AF4C-6C2A8F2D8C3E")]
[PackageRegistrationAttribute(UseManagedResourcesOnly = false)]
public ref class DataPackage sealed : public ProjectPackage,
IOleCommandTarget
[<Sealed>]
[<CLSCompliantAttribute(false)>]
[<DefaultRegistryRootAttribute("Software\Microsoft\VisualStudio\10.0")>]
[<ProvideLoadKeyAttribute("Professional", "2.0", "VSTS for Database Professionals",
"Microsoft Corporation", )>]
[<ProvideMenuResourceAttribute(, )>]
[<GuidAttribute("068E2583-0872-403B-AF4C-6C2A8F2D8C3E")>]
[<PackageRegistrationAttribute(UseManagedResourcesOnly = false)>]
type DataPackage =
class
inherit ProjectPackage
interface IOleCommandTarget
end
public final class DataPackage extends ProjectPackage implements IOleCommandTarget
The DataPackage type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataPackage | Initializes a new instance of the DataPackage class. |
Top
Properties
Name | Description | |
---|---|---|
ApplicationRegistryRoot | (Inherited from Package.) | |
Instance | Gets the single instance of the DataPackage. | |
IsCmdLineBuild | Returns true if this method is called during a command-line build. | |
ServiceProvider | This class and its members are reserved for internal use and are not intended to be used in your code. (Inherited from ProjectPackage.) | |
UserDataPath | (Inherited from Package.) | |
UserLocalDataPath | (Inherited from Package.) | |
UserRegistryRoot | (Inherited from Package.) | |
Zombied | (Inherited from Package.) |
Top
Methods
Name | Description | |
---|---|---|
AddOptionKey | (Inherited from Package.) | |
CreateInstance | (Inherited from Package.) | |
CreateTool | (Inherited from Package.) | |
CreateToolWindow | (Inherited from Package.) | |
Dispose | This class and its members are reserved for internal use and are not intended to be used in your code. (Inherited from ProjectPackage.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
FailFast | Call this method to quickly halt the application. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindToolWindow | (Inherited from Package.) | |
FindWindowPane | (Inherited from Package.) | |
GetAutomationObject | (Inherited from Package.) | |
GetDialogPage | (Inherited from Package.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetOutputPane | (Inherited from Package.) | |
GetProviderLocale | (Inherited from Package.) | |
GetResourceString(Int32) | Returns the resource string from the satellite assembly. | |
GetResourceString(String) | Returns the resource string from the satellite assembly. | |
GetService<TServiceType>(Type) | This class and its members are reserved for internal use and are not intended to be used in your code. (Inherited from ProjectPackage.) | |
GetService<TServiceObject, TServiceType>() | This class and its members are reserved for internal use and are not intended to be used in your code. (Inherited from ProjectPackage.) | |
GetToolboxItemData | (Inherited from Package.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize | This class and its members are reserved for internal use and are not intended to be used in your code. (Inherited from ProjectPackage.) | |
InitializeSolutionListeners | This class and its members are reserved for internal use and are not intended to be used in your code. (Inherited from ProjectPackage.) | |
IsSqlScriptToolWindowVisible | Checks to see whether the Transact-SQL Script tool window is visible. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnLoadOptions | (Inherited from Package.) | |
OnSaveOptions | (Inherited from Package.) | |
ParseToolboxResource(TextReader, ResourceManager) | (Inherited from Package.) | |
ParseToolboxResource(TextReader, Guid) | (Inherited from Package.) | |
QueryClose | (Inherited from Package.) | |
QueryEditFiles(array<String[]) | Queries version control to determine whether the specified file can be checked out. | |
QueryEditFiles(Boolean%, array<String[]) | Ask Source Code Control (SCC) whether the file can be checked out. SCC will check out the file if it is allowed to do so. The user may be prompted, depending on settings, before checkout. | |
RegisterEditorFactory | (Inherited from Package.) | |
RegisterForIdleProcessing | Adds a feature to idle processing. | |
RegisterProjectFactory | (Inherited from Package.) | |
RemoveFromIdleProcessing | Removes a feature from idle processing. | |
ShowOptionPage | (Inherited from Package.) | |
ShowOrCreateSqlScriptToolWindow | Displays the Transact-SQL Script tool window, creating it if necessary. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetService<T>(Type) | This class and its members are reserved for internal use and are not intended to be used in your code. (Inherited from ProjectPackage.) | |
TryGetService<TServiceObject, TServiceType>() | This class and its members are reserved for internal use and are not intended to be used in your code. (Inherited from ProjectPackage.) |
Top
Events
Name | Description | |
---|---|---|
ToolboxInitialized | (Inherited from Package.) | |
ToolboxUpgraded | (Inherited from Package.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IOleCommandTarget.Exec | Executes the specified command or displays help for the command. | |
IOleCommandTarget.QueryStatus | Queries the object for the status of one or more commands generated by user interface events. | |
IServiceContainer.AddService(Type, Object) | (Inherited from Package.) | |
IServiceContainer.AddService(Type, ServiceCreatorCallback) | (Inherited from Package.) | |
IServiceContainer.AddService(Type, Object, Boolean) | (Inherited from Package.) | |
IServiceContainer.AddService(Type, ServiceCreatorCallback, Boolean) | (Inherited from Package.) | |
IVsPackage.Close | (Inherited from Package.) | |
IVsToolWindowFactory.CreateToolWindow | (Inherited from Package.) | |
IVsUserSettings.ExportSettings | (Inherited from Package.) | |
IVsPackage.GetAutomationObject | (Inherited from Package.) | |
IVsToolboxItemProvider.GetItemContent | (Inherited from Package.) | |
IVsPackage.GetPropertyPage | (Inherited from Package.) | |
IServiceProvider.GetService | (Inherited from Package.) | |
IVsUserSettings.ImportSettings | (Inherited from Package.) | |
IVsPersistSolutionOpts.LoadUserOptions | (Inherited from Package.) | |
IVsUserSettingsMigration.MigrateSettings | (Inherited from Package.) | |
IVsPackage.QueryClose | (Inherited from Package.) | |
IServiceProvider.QueryService | (Inherited from Package.) | |
IVsPersistSolutionOpts.ReadUserOptions | (Inherited from Package.) | |
IServiceContainer.RemoveService(Type) | (Inherited from Package.) | |
IServiceContainer.RemoveService(Type, Boolean) | (Inherited from Package.) | |
IVsPackage.ResetDefaults | (Inherited from Package.) | |
IVsPersistSolutionOpts.SaveUserOptions | (Inherited from Package.) | |
IVsPackage.SetSite | (Inherited from Package.) | |
IVsPersistSolutionOpts.WriteUserOptions | (Inherited from Package.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.