共用方式為


Services 屬性

Represents a collection of Service objects. Each Service object represents a SQL Server service defined on the WMI installation.

命名空間:  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
A ServiceCollection object that represents all the SQL Server services defined on the WMI installation.