次の方法で共有


AgentMain メソッド (AgentCore)

この API は、 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

名前空間:  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