Service.Dependencies プロパティ

参照先の SQL Server サービスに依存するサービスの一覧を返します。

名前空間:  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
SQL Server サービスに関連付けられたサービスを示す StringCollection システム オブジェクトの値です。

使用例

WMI プロバイダーを使用したサービスの管理とネットワーク設定

関連項目

参照

Service クラス

Microsoft.SqlServer.Management.Smo.Wmi 名前空間

その他の技術情報

WMI and SQL Server

SQL Server データベース エンジンへの接続