Delen via


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
Public method SqlPackage Initializes a new instance of the SqlPackage class.

Top

Properties

  Name Description
Public property ApplicationRegistryRoot (Inherited from Package.)
Public property ServiceProvider This class and its members are reserved for internal use and are not intended to be used in your code. (Inherited from ProjectPackage.)
Public property UserDataPath (Inherited from Package.)
Public property UserLocalDataPath (Inherited from Package.)
Public property UserRegistryRoot (Inherited from Package.)
Public property Zombied (Inherited from Package.)

Top

Methods

  Name Description
Protected method AddOptionKey (Inherited from Package.)
Public method CreateInstance (Inherited from Package.)
Public method CreateTool (Inherited from Package.)
Protected method CreateToolWindow (Inherited from Package.)
Protected method Dispose This class and its members are reserved for internal use and are not intended to be used in your code. (Inherited from ProjectPackage.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindToolWindow (Inherited from Package.)
Public method FindWindowPane (Inherited from Package.)
Protected method GetAutomationObject (Inherited from Package.)
Protected method GetDialogPage (Inherited from Package.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetOutputPane (Inherited from Package.)
Public method GetProviderLocale (Inherited from Package.)
Public method 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.)
Public method 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.)
Protected method GetToolboxItemData (Inherited from Package.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Initialize This class and its members are reserved for internal use and are not intended to be used in your code. (Inherited from ProjectPackage.)
Protected method InitializeSolutionListeners This class and its members are reserved for internal use and are not intended to be used in your code. (Inherited from ProjectPackage.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnLoadOptions (Inherited from Package.)
Protected method OnSaveOptions (Inherited from Package.)
Protected method ParseToolboxResource(TextReader, ResourceManager) (Inherited from Package.)
Protected method ParseToolboxResource(TextReader, Guid) (Inherited from Package.)
Protected method QueryClose (Inherited from Package.)
Protected method RegisterEditorFactory (Inherited from Package.)
Protected method RegisterProjectFactory (Inherited from Package.)
Public method ShowOptionPage (Inherited from Package.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method 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.)
Public method 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
Protected event ToolboxInitialized (Inherited from Package.)
Protected event ToolboxUpgraded (Inherited from Package.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IOleCommandTarget.Exec
Explicit interface implemetationPrivate method IServiceContainer.AddService(Type, Object) (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.AddService(Type, ServiceCreatorCallback) (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.AddService(Type, Object, Boolean) (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.AddService(Type, ServiceCreatorCallback, Boolean) (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.Close (Inherited from Package.)
Explicit interface implemetationPrivate method IVsToolWindowFactory.CreateToolWindow (Inherited from Package.)
Explicit interface implemetationPrivate method IVsUserSettings.ExportSettings (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.GetAutomationObject (Inherited from Package.)
Explicit interface implemetationPrivate method IVsToolboxItemProvider.GetItemContent (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.GetPropertyPage (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceProvider.GetService (Inherited from Package.)
Explicit interface implemetationPrivate method IVsUserSettings.ImportSettings (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPersistSolutionOpts.LoadUserOptions (Inherited from Package.)
Explicit interface implemetationPrivate method IVsUserSettingsMigration.MigrateSettings (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.QueryClose (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceProvider.QueryService (Inherited from Package.)
Explicit interface implemetationPrivate method IOleCommandTarget.QueryStatus (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPersistSolutionOpts.ReadUserOptions (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.RemoveService(Type) (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.RemoveService(Type, Boolean) (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.ResetDefaults (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPersistSolutionOpts.SaveUserOptions (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.SetSite (Inherited from Package.)
Explicit interface implemetationPrivate method 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.

See Also

Reference

Microsoft.VisualStudio.Data.Schema.Package.Sql.UI Namespace