AgentApplication.AgentMain 메서드 (AgentCore)

이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

Specifies the replication agent with the specified agent core.

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

구문

‘선언
Protected Shared Function AgentMain ( _
    agentCore As AgentCore _
) As Integer
‘사용 방법
Dim agentCore As AgentCore 
Dim returnValue As Integer 

returnValue = AgentApplication.AgentMain(agentCore)
protected static int AgentMain(
    AgentCore agentCore
)
protected:
static int AgentMain(
    AgentCore^ agentCore
)
static member AgentMain : 
        agentCore:AgentCore -> int
protected static function AgentMain(
    agentCore : AgentCore
) : int

매개 변수

반환 값

유형: System.Int32
The replication agent.

참고 항목

참조

AgentApplication 클래스

AgentMain 오버로드

Microsoft.SqlServer.Replication 네임스페이스