次の方法で共有


Service.SetServiceAccount(String, String) メソッド

定義

SQL Server サービスを実行するアカウントを設定します。

public:
 void SetServiceAccount(System::String ^ userName, System::String ^ password);
public void SetServiceAccount (string userName, string password);
member this.SetServiceAccount : string * string -> unit
Public Sub SetServiceAccount (userName As String, password As String)

パラメーター

userName
String

String SQL Server サービスを実行するシステム アカウントを示す 値です。

password
String

システム アカウントのパスワードを示す String 値です。

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

適用対象

こちらもご覧ください