Freigeben über


AgentApplication.AgentMain-Methode (AgentCore)

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Specifies the replication agent with the specified agent core.

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

Parameter

Rückgabewert

Typ: System.Int32
The replication agent.

Siehe auch

Verweis

AgentApplication Klasse

AgentMain-Überladung

Microsoft.SqlServer.Replication-Namespace