다음을 통해 공유


JobServer.SetMsxAccount 메서드 (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 ( _
    credentialName As String _
)
‘사용 방법
Dim instance As JobServer 
Dim credentialName As String

instance.SetMsxAccount(credentialName)
public void SetMsxAccount(
    string credentialName
)
public:
void SetMsxAccount(
    String^ credentialName
)
member SetMsxAccount : 
        credentialName:string -> unit
public function SetMsxAccount(
    credentialName : String
)

매개 변수

주의

이 방법은 SQL Server 2005에서 도입되었습니다.

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

참고 항목

참조

JobServer 클래스

SetMsxAccount 오버로드

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

관련 자료

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

sp_msx_set_account(Transact-SQL)