Udostępnij za pośrednictwem


Konstruktor AgentProfile (Int32, ServerConnection)

Inicjuje nowe wystąpienie AgentProfile klasy z agenta określonego profilu identyfikator wartość i serwer połączenia.

Przestrzeń nazw:  Microsoft.SqlServer.Replication
Zestaw:  Microsoft.SqlServer.Rmo (w Microsoft.SqlServer.Rmo.dll)

Składnia

'Deklaracja
Public Sub New ( _
    profileID As Integer, _
    connectionContext As ServerConnection _
)
'Użycie
Dim profileID As Integer
Dim connectionContext As ServerConnection

Dim instance As New AgentProfile(profileID, _
    connectionContext)
public AgentProfile(
    int profileID,
    ServerConnection connectionContext
)
public:
AgentProfile(
    int profileID, 
    ServerConnection^ connectionContext
)
new : 
        profileID:int * 
        connectionContext:ServerConnection -> AgentProfile
public function AgentProfile(
    profileID : int, 
    connectionContext : ServerConnection
)

Parametry

  • profileID
    Typ: System.Int32
    Int32 Wartość, która unikatowo identyfikuje profil agenta.

Uwagi

Ten obszar nazw, klasy lub element członkowski jest obsługiwany tylko w.NET Framework 2.0.