다음을 통해 공유


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.dll의 Microsoft.SqlServer.Smo

구문

‘선언
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
)

매개 변수