Share via


DataPackageProfile Class

Provide this so we can filter the add new project dialog and add load-independent experiences.

This API is not CLS-compliant. 

Inheritance Hierarchy

System..::..Object
  Package
    Microsoft.VisualStudio.Data.Tools.Package.SqlProfile.UI..::..DataPackageProfile

Namespace:  Microsoft.VisualStudio.Data.Tools.Package.SqlProfile.UI
Assembly:  Microsoft.VisualStudio.Data.Tools.Package.SqlProfile (in Microsoft.VisualStudio.Data.Tools.Package.SqlProfile.dll)

Syntax

'Declaration
<PackageRegistrationAttribute(UseManagedResourcesOnly := True)> _
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(False)> _
<ProvideMenuResourceAttribute(, )> _
<GuidAttribute("00a9524f-427f-46ee-8a20-615c25ecbe6f")> _
<ProvideAutoLoadAttribute("ADFC4E64-0397-11D1-9F4E-00A0C911004F")> _
<ProvideLoadKeyAttribute("Standard", "1.0", "Microsoft(R) SQL Server Data Tools - Profile",  _
    "Microsoft Corporation", )> _
Public NotInheritable Class DataPackageProfile _
    Inherits Package _
    Implements IVsFilterNewProjectDlg, IOleCommandTarget
'Usage
Dim instance As DataPackageProfile
[PackageRegistrationAttribute(UseManagedResourcesOnly = true)]
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
[ProvideMenuResourceAttribute(, )]
[GuidAttribute("00a9524f-427f-46ee-8a20-615c25ecbe6f")]
[ProvideAutoLoadAttribute("ADFC4E64-0397-11D1-9F4E-00A0C911004F")]
[ProvideLoadKeyAttribute("Standard", "1.0", "Microsoft(R) SQL Server Data Tools - Profile", 
    "Microsoft Corporation", )]
public sealed class DataPackageProfile : Package, 
    IVsFilterNewProjectDlg, IOleCommandTarget
[PackageRegistrationAttribute(UseManagedResourcesOnly = true)]
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
[ProvideMenuResourceAttribute(, )]
[GuidAttribute(L"00a9524f-427f-46ee-8a20-615c25ecbe6f")]
[ProvideAutoLoadAttribute(L"ADFC4E64-0397-11D1-9F4E-00A0C911004F")]
[ProvideLoadKeyAttribute(L"Standard", L"1.0", L"Microsoft(R) SQL Server Data Tools - Profile", 
    L"Microsoft Corporation", )]
public ref class DataPackageProfile sealed : public Package, 
    IVsFilterNewProjectDlg, IOleCommandTarget
[<SealedAttribute>]
[<PackageRegistrationAttribute(UseManagedResourcesOnly = true)>]
[<ComVisibleAttribute(true)>]
[<CLSCompliantAttribute(false)>]
[<ProvideMenuResourceAttribute(, )>]
[<GuidAttribute("00a9524f-427f-46ee-8a20-615c25ecbe6f")>]
[<ProvideAutoLoadAttribute("ADFC4E64-0397-11D1-9F4E-00A0C911004F")>]
[<ProvideLoadKeyAttribute("Standard", "1.0", "Microsoft(R) SQL Server Data Tools - Profile", 
    "Microsoft Corporation", )>]
type DataPackageProfile =  
    class
        inherit Package
        interface IVsFilterNewProjectDlg
        interface IOleCommandTarget
    end
public final class DataPackageProfile extends Package implements IVsFilterNewProjectDlg, IOleCommandTarget

The DataPackageProfile type exposes the following members.

Constructors

  Name Description
Public method DataPackageProfile Initializes a new instance of the DataPackageProfile class.

Top

Properties

  Name Description
Public property ApplicationRegistryRoot (Inherited from Package.)
Public property IsZombie Gets {insert text here}.
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.)
Public methodStatic member DemandLoadPackage Loads the package identified by the argument guid.
Protected method Dispose (Inherited from Package.)
Public method Equals (Inherited from Object.)
Public method FilterListItemByLocalizedName
Public method FilterListItemByTemplateFile
Public method FilterTreeItemByLocalizedName
Public method FilterTreeItemByTemplateDir
Protected method Finalize (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 (Inherited from Object.)
Public method GetOutputPane (Inherited from Package.)
Public method GetProviderLocale (Inherited from Package.)
Protected method GetService (Inherited from Package.)
Protected method GetToolboxItemData (Inherited from Package.)
Public method GetType (Inherited from Object.)
Protected method Initialize (Inherited from Package.)
Protected method MemberwiseClone (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.)
Public method RaiseOnAfterDeleteDatabase Raises the after delete database event
Public method RaiseOnQueryDeleteDatabase Raises the query delete database event
Protected method RegisterEditorFactory (Inherited from Package.)
Protected method RegisterProjectFactory (Inherited from Package.)
Public method RequestWait Requests that shutdown pause
Public method ShowOptionPage (Inherited from Package.)
Public method ToString (Inherited from Object.)
Public method WaitNoLonger Tells the shutdown service to no longer wait on this cookie. Shutdown will continue if there are no cookies left to be wated on

Top

Events

  Name Description
Public event HostShuttingDown Service we proffer to let components know that VS is closing
Public event OnAfterDeleteDatabase
Public event OnQueryDeleteDatabase
Protected event ToolboxInitialized (Inherited from Package.)
Protected event ToolboxUpgraded (Inherited from Package.)

Top

Fields

  Name Description
Public fieldStatic member VSITEMID_ROOT

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IOleCommandTargetExec
Explicit interface implemetationPrivate method IOleCommandTargetQueryStatus
Explicit interface implemetationPrivate method System#ComponentModel#Design#IServiceContainer#AddService(Type, Object) (Inherited from Package.)
Explicit interface implemetationPrivate method System#ComponentModel#Design#IServiceContainer#AddService(Type, ServiceCreatorCallback) (Inherited from Package.)
Explicit interface implemetationPrivate method System#ComponentModel#Design#IServiceContainer#AddService(Type, Object, Boolean) (Inherited from Package.)
Explicit interface implemetationPrivate method System#ComponentModel#Design#IServiceContainer#AddService(Type, ServiceCreatorCallback, Boolean) (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsPackage#Close (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsToolWindowFactory#CreateToolWindow (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsUserSettings#ExportSettings (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsPackage#GetAutomationObject (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsToolboxItemProvider#GetItemContent (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsPackage#GetPropertyPage (Inherited from Package.)
Explicit interface implemetationPrivate method System#IServiceProvider#GetService (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsUserSettings#ImportSettings (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsPersistSolutionOpts#LoadUserOptions (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsUserSettingsMigration#MigrateSettings (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsPackage#QueryClose (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#OLE#Interop#IServiceProvider#QueryService (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsPersistSolutionOpts#ReadUserOptions (Inherited from Package.)
Explicit interface implemetationPrivate method System#ComponentModel#Design#IServiceContainer#RemoveService(Type) (Inherited from Package.)
Explicit interface implemetationPrivate method System#ComponentModel#Design#IServiceContainer#RemoveService(Type, Boolean) (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsPackage#ResetDefaults (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsPersistSolutionOpts#SaveUserOptions (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsPackage#SetSite (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#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.Tools.Package.SqlProfile.UI Namespace