SqlPackage Class
SQL Server-specific database package.
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.Sql.UI.SqlPackage
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Sql.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Package.Sql (in Microsoft.VisualStudio.Data.Schema.Package.Sql.dll)
Syntax
'Declaration
<ProvideMenuResourceAttribute(, )> _
<ProvideLoadKeyAttribute("Professional", "2.0", "VSTS for Database Professionals Sql Server", _
"Microsoft Corporation", )> _
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(False)> _
<GuidAttribute("481A3758-A6D0-43E0-B1B8-4428BE962F8E")> _
<PackageRegistrationAttribute(UseManagedResourcesOnly := False)> _
<DefaultRegistryRootAttribute("Software\Microsoft\VisualStudio\10.0")> _
Public NotInheritable Class SqlPackage _
Inherits ProjectPackage _
Implements IOleCommandTarget
[ProvideMenuResourceAttribute(, )]
[ProvideLoadKeyAttribute("Professional", "2.0", "VSTS for Database Professionals Sql Server",
"Microsoft Corporation", )]
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
[GuidAttribute("481A3758-A6D0-43E0-B1B8-4428BE962F8E")]
[PackageRegistrationAttribute(UseManagedResourcesOnly = false)]
[DefaultRegistryRootAttribute("Software\Microsoft\VisualStudio\10.0")]
public sealed class SqlPackage : ProjectPackage,
IOleCommandTarget
[ProvideMenuResourceAttribute(, )]
[ProvideLoadKeyAttribute(L"Professional", L"2.0", L"VSTS for Database Professionals Sql Server",
L"Microsoft Corporation", )]
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
[GuidAttribute(L"481A3758-A6D0-43E0-B1B8-4428BE962F8E")]
[PackageRegistrationAttribute(UseManagedResourcesOnly = false)]
[DefaultRegistryRootAttribute(L"Software\Microsoft\VisualStudio\10.0")]
public ref class SqlPackage sealed : public ProjectPackage,
IOleCommandTarget
[<Sealed>]
[<ProvideMenuResourceAttribute(, )>]
[<ProvideLoadKeyAttribute("Professional", "2.0", "VSTS for Database Professionals Sql Server",
"Microsoft Corporation", )>]
[<ComVisibleAttribute(true)>]
[<CLSCompliantAttribute(false)>]
[<GuidAttribute("481A3758-A6D0-43E0-B1B8-4428BE962F8E")>]
[<PackageRegistrationAttribute(UseManagedResourcesOnly = false)>]
[<DefaultRegistryRootAttribute("Software\Microsoft\VisualStudio\10.0")>]
type SqlPackage =
class
inherit ProjectPackage
interface IOleCommandTarget
end
public final class SqlPackage extends ProjectPackage implements IOleCommandTarget
The SqlPackage type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SqlPackage | Initializes a new instance of the SqlPackage class. |
Top
Properties
Name | Description | |
---|---|---|
ApplicationRegistryRoot | (Inherited from Package.) | |
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.) | |
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.) | |
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.) | |
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.) | |
RegisterEditorFactory | (Inherited from Package.) | |
RegisterProjectFactory | (Inherited from Package.) | |
ShowOptionPage | (Inherited from Package.) | |
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 | ||
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.) | |
IOleCommandTarget.QueryStatus | (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.