Share via


SqlPackage Class

Represents the SQL package.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Sql.Common.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Project.Sql (in Microsoft.VisualStudio.Data.Schema.Project.Sql.dll)

Syntax

'Declaration
<GuidAttribute("481A3758-A6D0-43E0-B1B8-4428BE962F8E")> _
<PackageRegistrationAttribute(UseManagedResourcesOnly := False)> _
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(False)> _
<DefaultRegistryRootAttribute("Software\Microsoft\VisualStudio\9.0")> _
<InstalledProductRegistrationAttribute(True, Nothing, Nothing, Nothing)> _
<ProvideLoadKeyAttribute("Professional", "2.0", "VSTS for Database Professionals Sql Server",  _
    "Microsoft Corporation", )> _
<ProvideMenuResourceAttribute(, )> _
Public NotInheritable Class SqlPackage _
    Inherits ProjectPackage _
    Implements IOleCommandTarget
'Usage
Dim instance As SqlPackage
[GuidAttribute("481A3758-A6D0-43E0-B1B8-4428BE962F8E")]
[PackageRegistrationAttribute(UseManagedResourcesOnly = false)]
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
[DefaultRegistryRootAttribute("Software\Microsoft\VisualStudio\9.0")]
[InstalledProductRegistrationAttribute(true, null, null, null)]
[ProvideLoadKeyAttribute("Professional", "2.0", "VSTS for Database Professionals Sql Server", 
    "Microsoft Corporation", )]
[ProvideMenuResourceAttribute(, )]
public sealed class SqlPackage : ProjectPackage, 
    IOleCommandTarget
[GuidAttribute(L"481A3758-A6D0-43E0-B1B8-4428BE962F8E")]
[PackageRegistrationAttribute(UseManagedResourcesOnly = false)]
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
[DefaultRegistryRootAttribute(L"Software\Microsoft\VisualStudio\9.0")]
[InstalledProductRegistrationAttribute(true, nullptr, nullptr, nullptr)]
[ProvideLoadKeyAttribute(L"Professional", L"2.0", L"VSTS for Database Professionals Sql Server", 
    L"Microsoft Corporation", )]
[ProvideMenuResourceAttribute(, )]
public ref class SqlPackage sealed : public ProjectPackage, 
    IOleCommandTarget
public final class SqlPackage extends ProjectPackage implements IOleCommandTarget

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.Package
    Microsoft.VisualStudio.Data.Schema.Project.Project.MPF.ProjectPackage
      Microsoft.VisualStudio.Data.Schema.Project.Sql.Common.UI.SqlPackage

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

SqlPackage Members

Microsoft.VisualStudio.Data.Schema.Project.Sql.Common.UI Namespace