Share via


JobServer.SetMsxAccount 메서드 (String, String)

Sets the name of the credentials used to log in to the master server in multiserver administration.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub SetMsxAccount ( _
    account As String, _
    password As String _
)
‘사용 방법
Dim instance As JobServer 
Dim account As String 
Dim password As String

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

매개 변수

  • account
    유형: System.String
    A String value that specifies the SQL Server Authentication login name.
  • password
    유형: System.String
    A String value that specifies the SQL Server Authentication password.

주의

This method is no longer supported.

SQL Server 에이전트에서 자동 관리 태스크 예약

참고 항목

참조

JobServer 클래스

SetMsxAccount 오버로드

Microsoft.SqlServer.Management.Smo.Agent 네임스페이스

관련 자료

관리 태스크 자동화(SQL Server 에이전트)

sp_msx_set_account(Transact-SQL)