Metoda AgentApplication.AgentMain (AgentCore, String)
Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Przestrzeń nazw: Microsoft.SqlServer.Replication
Zestaw: Microsoft.SqlServer.Replication (w Microsoft.SqlServer.Replication.dll)
Składnia
'Deklaracja
Protected Shared Function AgentMain ( _
agentCore As AgentCore, _
commandLine As String _
) As Integer
'Użycie
Dim agentCore As AgentCore
Dim commandLine As String
Dim returnValue As Integer
returnValue = AgentApplication.AgentMain(agentCore, _
commandLine)
protected static int AgentMain(
AgentCore agentCore,
string commandLine
)
protected:
static int AgentMain(
AgentCore^ agentCore,
String^ commandLine
)
static member AgentMain :
agentCore:AgentCore *
commandLine:string -> int
protected static function AgentMain(
agentCore : AgentCore,
commandLine : String
) : int
Wartość zwracana
Typ: System.Int32
Zobacz także