Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Creates a new instance of the RegisteredSubscriber class with the specified name and specified connection to the Publisher.
Пространство имен: Microsoft.SqlServer.Replication
Сборка: Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)
Синтаксис
'Декларация
Public Sub New ( _
name As String, _
connectionContext As ServerConnection _
)
'Применение
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
)
Параметры
- name
Тип: System.String
A String value that specifies the name of the registered Subscriber.
- connectionContext
Тип: Microsoft.SqlServer.Management.Common.ServerConnection
A ServerConnection object value that specifies the connection context used to establish a connection to the Publisher.