ServerProxyAccount.SetAccount メソッド (String, String)

SQL Server のインスタンスのプロキシ アカウントのアカウント名およびパスワードを設定します。

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

構文

'宣言
Public Sub SetAccount ( _
    windowsAccount As String, _
    password As String _
)
'使用
Dim instance As ServerProxyAccount 
Dim windowsAccount As String 
Dim password As String

instance.SetAccount(windowsAccount, password)
public void SetAccount(
    string windowsAccount,
    string password
)
public:
void SetAccount(
    String^ windowsAccount, 
    String^ password
)
member SetAccount : 
        windowsAccount:string * 
        password:string -> unit
public function SetAccount(
    windowsAccount : String, 
    password : String
)

パラメーター

使用例

SQL Server エージェントでの自動管理タスクのスケジュール設定

関連項目

参照

ServerProxyAccount クラス

SetAccount オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間