Udostępnij przez


Konstruktor RegisteredSubscriber (String, ServerConnection)

Tworzy nowe wystąpienie RegisteredSubscriber klasy z określoną nazwą i określonego połączenia do Wydawca.

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

Składnia

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

Dim instance As New RegisteredSubscriber(name, connectionContext)
public RegisteredSubscriber(
    string name,
    ServerConnection connectionContext
)
public:
RegisteredSubscriber(
    String^ name, 
    ServerConnection^ connectionContext
)
new : 
        name:string * 
        connectionContext:ServerConnection -> RegisteredSubscriber
public function RegisteredSubscriber(
    name : String, 
    connectionContext : ServerConnection
)

Parametry

  • name
    Typ: System.String
    A String wartość, która określa nazwę zarejestrowanego subskrybenta.

Uwagi

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