Service.StartupParameters プロパティ

SQL Server サービスのすべてのスタートアップ パラメーターを取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo.Wmi
アセンブリ:  Microsoft.SqlServer.SqlWmiManagement (Microsoft.SqlServer.SqlWmiManagement.dll)

構文

'宣言
Public Property StartupParameters As String 
    Get 
    Set
'使用
Dim instance As Service 
Dim value As String 

value = instance.StartupParameters

instance.StartupParameters = value
public string StartupParameters { get; set; }
public:
property String^ StartupParameters {
    String^ get ();
    void set (String^ value);
}
member StartupParameters : string with get, set
function get StartupParameters () : String 
function set StartupParameters (value : String)

プロパティ値

型: System.String
SQL Server サービスのスタートアップ パラメーターを示す String 値です。

使用例

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

関連項目

参照

Service クラス

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

その他の技術情報

WMI and SQL Server

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