JobServer.MsxEnlist 메서드

Enlists SQL Server Agent as a target server with the specified master server in a multiserver administration.

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

구문

‘선언
Public Sub MsxEnlist ( _
    masterServer As String, _
    location As String _
)
‘사용 방법
Dim instance As JobServer 
Dim masterServer As String 
Dim location As String

instance.MsxEnlist(masterServer, location)
public void MsxEnlist(
    string masterServer,
    string location
)
public:
void MsxEnlist(
    String^ masterServer, 
    String^ location
)
member MsxEnlist : 
        masterServer:string * 
        location:string -> unit
public function MsxEnlist(
    masterServer : String, 
    location : String
)

매개 변수

  • masterServer
    유형: System.String
    A String value that specifies the name of the master server.

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

참고 항목

참조

JobServer 클래스

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

관련 자료

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

sp_msx_enlist(Transact-SQL)