此类包含所有服务访问器属性。
继承层次结构
System.Object
  Microsoft.VisualStudio.Data.Schema.Package.UI.DataPackage.Services
命名空间:  Microsoft.VisualStudio.Data.Schema.Package.UI
程序集:  Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Public NotInheritable Class Services
public static class Services
public ref class Services abstract sealed
[<AbstractClass>]
[<Sealed>]
type Services =  class end
public final class Services
DataPackage.Services 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) .gif) | ConnectionDialogFactory | 获取 DataConnectionDialogFactory 服务。 | 
| .gif) .gif) | DataConnectionFactory | 获取 DataConnectionFactory 服务。 | 
| .gif) .gif) | DataConnectionManager | 获取 DataConnectionManager 服务。 | 
| .gif) .gif) | DTE | 获取 DTE 服务。 | 
| .gif) .gif) | ExplorerConnectionManager | 获取 DataExplorerConnectionManager 服务。 | 
| .gif) .gif) | Help | 获取 Visual Studio 帮助服务。 | 
| .gif) .gif) | LinkedUndoTransactionManager | 获取 LinkedUndoTransactionManager 的服务。 | 
| .gif) .gif) | LocalRegistry | 获取 ILocalRegistry 服务。 | 
| .gif) .gif) | OleComponentManager | 获取 IOleComponentManager。 | 
| .gif) .gif) | OutputWindow | 获取输出窗口服务。 | 
| .gif) .gif) | PreviewChangesService | 获取用于重构 PreviewChanges 的服务。 | 
| .gif) .gif) | UIService | 获取 Windows 窗体用户界面服务。 | 
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。