Свойство ManagedComputer.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.
Примеры
Управление службами и сетевыми настройками с помощью поставщика WMI
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo.Wmi