SetAccount 方法 (String, String)

Sets the account name and password for the proxy account on the instance of 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
)

参数