Compartilhar via


Método AgentApplication.AgentMain (AgentCore)

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Specifies the replication agent with the specified agent core.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (em Microsoft.SqlServer.Replication.dll)

Sintaxe

'Declaração
Protected Shared Function AgentMain ( _
    agentCore As AgentCore _
) As Integer
'Uso
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

Parâmetros

Valor de retorno

Tipo: System.Int32
The replication agent.

Consulte também

Referência

AgentApplication Classe

Sobrecarregado AgentMain

Namespace Microsoft.SqlServer.Replication