SetAccount 메서드 (String, SecureString)
Sets the account name and secure 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 SecureString _
)
‘사용 방법
Dim instance As ServerProxyAccount
Dim windowsAccount As String
Dim password As SecureString
instance.SetAccount(windowsAccount, password)
public void SetAccount(
string windowsAccount,
SecureString password
)
public:
void SetAccount(
String^ windowsAccount,
SecureString^ password
)
member SetAccount :
windowsAccount:string *
password:SecureString -> unit
public function SetAccount(
windowsAccount : String,
password : SecureString
)
매개 변수
- windowsAccount
형식: System. . :: . .String
A String value that specifies the name of the account.
- password
형식: System.Security. . :: . .SecureString
A SecureString value that specifies the password for the account.