Поделиться через


Свойство Service.Dependencies

Returns a list of services that are dependent on the referenced SQL Server service.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Wmi
Сборка:  Microsoft.SqlServer.SqlWmiManagement (в Microsoft.SqlServer.SqlWmiManagement.dll)

Синтаксис

'Декларация
Public ReadOnly Property Dependencies As StringCollection 
    Get
'Применение
Dim instance As Service 
Dim value As StringCollection 

value = instance.Dependencies
public StringCollection Dependencies { get; }
public:
property StringCollection^ Dependencies {
    StringCollection^ get ();
}
member Dependencies : StringCollection
function get Dependencies () : StringCollection

Значение свойства

Тип: System.Collections.Specialized.StringCollection
A StringCollection system object value that specifies the services associated with the SQL Server service.

Примеры

Управление службами и сетевыми настройками с помощью поставщика WMI

См. также

Справочник

Service Класс

Пространство имен Microsoft.SqlServer.Management.Smo.Wmi

Другие ресурсы

WMI and SQL Server

Соединение с компонентом SQL Server Database Engine