Services 属性
命名空间: Microsoft.SqlServer.Management.Smo.Wmi
程序集: Microsoft.SqlServer.SqlWmiManagement(在 Microsoft.SqlServer.SqlWmiManagement.dll 中)
语法
声明
Public ReadOnly Property Services As ServiceCollection
Get
用法
Dim instance As ManagedComputer
Dim value As ServiceCollection
value = instance.Services
public ServiceCollection Services { get; }
public:
property ServiceCollection^ Services {
ServiceCollection^ get ();
}
member Services : ServiceCollection
function get Services () : ServiceCollection
属性值
类型:Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ServiceCollection
一个 ServiceCollection 对象,该对象表示在 WMI 安装中定义的所有 SQL Server 服务。