Metodo AgentApplication.AgentMain (AgentCore)
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Specifies the replication agent with the specified agent core.
Spazio dei nomi Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Sintassi
'Dichiarazione
Protected Shared Function AgentMain ( _
agentCore As AgentCore _
) As Integer
'Utilizzo
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
Parametri
- agentCore
Tipo: Microsoft.SqlServer.Replication.AgentCore
The core for replication agent.
Valore restituito
Tipo: System.Int32
The replication agent.