ServerProxyAccount.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
)
매개 변수
- windowsAccount
유형: System.String
A String value that specifies the name of the account.
- password
유형: System.String
A String value that specifies the password for the account.
예
SQL Server 에이전트에서 자동 관리 태스크 예약