Метод AgentApplication.AgentMain (AgentCore)

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

Specifies the replication agent with the specified agent core.

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Replication (в Microsoft.SqlServer.Replication.dll)

Синтаксис

'Декларация
Protected Shared Function AgentMain ( _
    agentCore As AgentCore _
) As Integer
'Применение
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

Параметры

Возвращаемое значение

Тип: System.Int32
The replication agent.

См. также

Справочник

AgentApplication Класс

Перегрузка AgentMain

Пространство имен Microsoft.SqlServer.Replication