DataPackage Class
This API is not CLS-compliant.
Inheritance Hierarchy
System..::..Object
Package
Microsoft.VisualStudio.Data.Tools.Package.Project.Internal..::..ProjectPackage
Microsoft.VisualStudio.Data.Tools.Package.UI..::..DataPackage
Namespace: Microsoft.VisualStudio.Data.Tools.Package.UI
Assembly: Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)
Syntax
'Declaration
<GuidAttribute("00FEE386-5F9F-4577-99F4-F327FAFC0FB9")> _
<CLSCompliantAttribute(False)> _
<ProvideMenuResourceAttribute(, )> _
<ProvideToolWindowAttribute(GetType(DataToolsOperationsToolWindow), Window := "{34E76E81-EE4A-11D0-AE2E-00A0C90FFFC3}", _
Style := VsDockStyle.Tabbed)> _
<ProvideEditorFactoryAttribute(GetType(QueryResultsEditorFactory), , TrustLevel := __VSEDITORTRUSTLEVEL.ETL_AlwaysTrusted)> _
<ProvideEditorLogicalViewAttribute(GetType(QueryResultsEditorFactory), "{7651a703-06e5-11d1-8ebd-00a0c90f26ea}")> _
<ProvideEditorFactoryAttribute(GetType(SqlEditorSelector), , TrustLevel := __VSEDITORTRUSTLEVEL.ETL_AlwaysTrusted)> _
<ProvideServiceAttribute(GetType(SModelBusService))> _
<ProvideLoadKeyAttribute("Standard", "1.0", "SqlStudio Package", "Microsoft Corporation", _
)> _
<PackageRegistrationAttribute(UseManagedResourcesOnly := True)> _
Public NotInheritable Class DataPackage _
Inherits ProjectPackage _
Implements IServiceProvider, IOleCommandTarget
'Usage
Dim instance As DataPackage
[GuidAttribute("00FEE386-5F9F-4577-99F4-F327FAFC0FB9")]
[CLSCompliantAttribute(false)]
[ProvideMenuResourceAttribute(, )]
[ProvideToolWindowAttribute(typeof(DataToolsOperationsToolWindow), Window = "{34E76E81-EE4A-11D0-AE2E-00A0C90FFFC3}",
Style = VsDockStyle.Tabbed)]
[ProvideEditorFactoryAttribute(typeof(QueryResultsEditorFactory), , TrustLevel = __VSEDITORTRUSTLEVEL.ETL_AlwaysTrusted)]
[ProvideEditorLogicalViewAttribute(typeof(QueryResultsEditorFactory), "{7651a703-06e5-11d1-8ebd-00a0c90f26ea}")]
[ProvideEditorFactoryAttribute(typeof(SqlEditorSelector), , TrustLevel = __VSEDITORTRUSTLEVEL.ETL_AlwaysTrusted)]
[ProvideServiceAttribute(typeof(SModelBusService))]
[ProvideLoadKeyAttribute("Standard", "1.0", "SqlStudio Package", "Microsoft Corporation",
)]
[PackageRegistrationAttribute(UseManagedResourcesOnly = true)]
public sealed class DataPackage : ProjectPackage,
IServiceProvider, IOleCommandTarget
[GuidAttribute(L"00FEE386-5F9F-4577-99F4-F327FAFC0FB9")]
[CLSCompliantAttribute(false)]
[ProvideMenuResourceAttribute(, )]
[ProvideToolWindowAttribute(typeof(DataToolsOperationsToolWindow), Window = L"{34E76E81-EE4A-11D0-AE2E-00A0C90FFFC3}",
Style = VsDockStyle::Tabbed)]
[ProvideEditorFactoryAttribute(typeof(QueryResultsEditorFactory), , TrustLevel = __VSEDITORTRUSTLEVEL::ETL_AlwaysTrusted)]
[ProvideEditorLogicalViewAttribute(typeof(QueryResultsEditorFactory), L"{7651a703-06e5-11d1-8ebd-00a0c90f26ea}")]
[ProvideEditorFactoryAttribute(typeof(SqlEditorSelector), , TrustLevel = __VSEDITORTRUSTLEVEL::ETL_AlwaysTrusted)]
[ProvideServiceAttribute(typeof(SModelBusService))]
[ProvideLoadKeyAttribute(L"Standard", L"1.0", L"SqlStudio Package", L"Microsoft Corporation",
)]
[PackageRegistrationAttribute(UseManagedResourcesOnly = true)]
public ref class DataPackage sealed : public ProjectPackage,
IServiceProvider, IOleCommandTarget
[<SealedAttribute>]
[<GuidAttribute("00FEE386-5F9F-4577-99F4-F327FAFC0FB9")>]
[<CLSCompliantAttribute(false)>]
[<ProvideMenuResourceAttribute(, )>]
[<ProvideToolWindowAttribute(typeof(DataToolsOperationsToolWindow), Window = "{34E76E81-EE4A-11D0-AE2E-00A0C90FFFC3}",
Style = VsDockStyle.Tabbed)>]
[<ProvideEditorFactoryAttribute(typeof(QueryResultsEditorFactory), , TrustLevel = __VSEDITORTRUSTLEVEL.ETL_AlwaysTrusted)>]
[<ProvideEditorLogicalViewAttribute(typeof(QueryResultsEditorFactory), "{7651a703-06e5-11d1-8ebd-00a0c90f26ea}")>]
[<ProvideEditorFactoryAttribute(typeof(SqlEditorSelector), , TrustLevel = __VSEDITORTRUSTLEVEL.ETL_AlwaysTrusted)>]
[<ProvideServiceAttribute(typeof(SModelBusService))>]
[<ProvideLoadKeyAttribute("Standard", "1.0", "SqlStudio Package", "Microsoft Corporation",
)>]
[<PackageRegistrationAttribute(UseManagedResourcesOnly = true)>]
type DataPackage =
class
inherit ProjectPackage
interface IServiceProvider
interface IOleCommandTarget
end
public final class DataPackage extends ProjectPackage implements IServiceProvider, IOleCommandTarget
The DataPackage type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataPackage | Initializes an instance of a DataPackage |
Top
Properties
Name | Description | |
---|---|---|
ApplicationRegistryRoot | (Inherited from Package.) | |
Instance | The single instance of the DataPackage | |
IsCmdLineBuild | Returns true if we have a cmd line build. | |
ServiceProvider | Return package as a IServiceProvider. (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.) | |
DemandLoadPackage | Loads the package identified by the argument guid. | |
Dispose | (Inherited from ProjectPackage.) | |
Equals | (Inherited from Object.) | |
FailFast | Call this to failfast the application | |
Finalize | (Inherited from Object.) | |
FindToolWindow(Guid) | Finds a toolwindow by the guid | |
FindToolWindow(Type, Int32, Boolean) | (Inherited from Package.) | |
FindWindowPane | (Inherited from Package.) | |
GetAutomationObject | (Inherited from Package.) | |
GetDialogPage | (Inherited from Package.) | |
GetHashCode | (Inherited from Object.) | |
GetOutputPane | (Inherited from Package.) | |
GetProviderLocale | (Inherited from Package.) | |
GetResourceString(Int32) | Returns the resource string from our satellite assembly | |
GetResourceString(String) | Returns the resource string from our satellite assembly | |
GetService< (Of < <' (TServiceType> ) > > )(Type) | Get service object. (Inherited from ProjectPackage.) | |
GetService< (Of < <' (TServiceObject, TServiceType> ) > > )() () () () | Get service object. (Inherited from ProjectPackage.) | |
GetToolboxItemData | (Inherited from Package.) | |
GetType | (Inherited from Object.) | |
Initialize | (Inherited from ProjectPackage.) | |
InitializeSolutionListeners | (Inherited from ProjectPackage.) | |
MemberwiseClone | (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> [] () [] []) | Ask SCC if file can be checked out. SCC will check the file out if allowed to do so. The user may be prompted (depending on settings) before checkout. | |
QueryEditFiles(Boolean%, array<String> [] () [] []) | Ask SCC if file can be checked out. SCC will check the file out if allowed to do so. The user may be prompted (depending on settings) before checkout. | |
QueryEditFiles(Boolean%, UInt32%, array<String> [] () [] []) | Ask SCC if file can be checked out. SCC will check the file out if allowed to do so. The user may be prompted (depending on settings) before checkout. | |
RegisterEditorFactory | (Inherited from Package.) | |
RegisterProjectFactory | (Inherited from Package.) | |
ShowOptionPage | (Inherited from Package.) | |
ThrowOnFailure | ||
ToString | (Inherited from Object.) | |
TryGetService< (Of < <' (T> ) > > )(Type) | Get service object. (Inherited from ProjectPackage.) | |
TryGetService< (Of < <' (TServiceObject, TServiceType> ) > > )() () () () | Get service object. (Inherited from ProjectPackage.) |
Top
Events
Name | Description | |
---|---|---|
ToolboxInitialized | (Inherited from Package.) | |
ToolboxUpgraded | (Inherited from Package.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IOleCommandTargetExec | ||
IServiceProviderQueryService | ||
IOleCommandTargetQueryStatus | ||
System#ComponentModel#Design#IServiceContainer#AddService(Type, Object) | (Inherited from Package.) | |
System#ComponentModel#Design#IServiceContainer#AddService(Type, ServiceCreatorCallback) | (Inherited from Package.) | |
System#ComponentModel#Design#IServiceContainer#AddService(Type, Object, Boolean) | (Inherited from Package.) | |
System#ComponentModel#Design#IServiceContainer#AddService(Type, ServiceCreatorCallback, Boolean) | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsPackage#Close | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsToolWindowFactory#CreateToolWindow | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsUserSettings#ExportSettings | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsPackage#GetAutomationObject | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsToolboxItemProvider#GetItemContent | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsPackage#GetPropertyPage | (Inherited from Package.) | |
System#IServiceProvider#GetService | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsUserSettings#ImportSettings | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsPersistSolutionOpts#LoadUserOptions | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsUserSettingsMigration#MigrateSettings | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsPackage#QueryClose | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsPersistSolutionOpts#ReadUserOptions | (Inherited from Package.) | |
System#ComponentModel#Design#IServiceContainer#RemoveService(Type) | (Inherited from Package.) | |
System#ComponentModel#Design#IServiceContainer#RemoveService(Type, Boolean) | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsPackage#ResetDefaults | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsPersistSolutionOpts#SaveUserOptions | (Inherited from Package.) | |
Microsoft#VisualStudio#Shell#Interop#IVsPackage#SetSite | (Inherited from Package.) | |
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.