Méthode AgentApplication.AgentMain (AgentCore)
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Specifies the replication agent with the specified agent core.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)
Syntaxe
'Déclaration
Protected Shared Function AgentMain ( _
agentCore As AgentCore _
) As Integer
'Utilisation
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
Paramètres
- agentCore
Type : Microsoft.SqlServer.Replication.AgentCore
The core for replication agent.
Valeur de retour
Type : System.Int32
The replication agent.