AgentApplication.AgentMain Method (AgentCore)
This API supports the infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Syntax
'Declaration
Protected Shared Function AgentMain ( _
agentCore As AgentCore _
) As Integer
'Usage
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
Parameters
- agentCore
Type: Microsoft.SqlServer.Replication.AgentCore
Return Value
Type: System.Int32
See Also