Конструктор MergeSubscriberMonitor (ServerConnection, String, String, String, String)
Creates an instance of the MergeSubscriberMonitor class to monitor a specific subscription.
Пространство имен: Microsoft.SqlServer.Replication
Сборка: Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)
Синтаксис
'Декларация
Public Sub New ( _
connectionContext As ServerConnection, _
subscriberDBName As String, _
publisherName As String, _
publicationName As String, _
publisherDBName As String _
)
'Применение
Dim connectionContext As ServerConnection
Dim subscriberDBName As String
Dim publisherName As String
Dim publicationName As String
Dim publisherDBName As String
Dim instance As New MergeSubscriberMonitor(connectionContext, _
subscriberDBName, publisherName, _
publicationName, publisherDBName)
public MergeSubscriberMonitor(
ServerConnection connectionContext,
string subscriberDBName,
string publisherName,
string publicationName,
string publisherDBName
)
public:
MergeSubscriberMonitor(
ServerConnection^ connectionContext,
String^ subscriberDBName,
String^ publisherName,
String^ publicationName,
String^ publisherDBName
)
new :
connectionContext:ServerConnection *
subscriberDBName:string *
publisherName:string *
publicationName:string *
publisherDBName:string -> MergeSubscriberMonitor
public function MergeSubscriberMonitor(
connectionContext : ServerConnection,
subscriberDBName : String,
publisherName : String,
publicationName : String,
publisherDBName : String
)
Параметры
- connectionContext
Тип Microsoft.SqlServer.Management.Common. . :: . .ServerConnection
A ServerConnection object that represents a connection to the instance of MicrosoftSQL Server that is the Subscriber.
- subscriberDBName
Тип System. . :: . .String
Name of the subscription database.
- publisherName
Тип System. . :: . .String
Name of the Publisher.
- publicationName
Тип System. . :: . .String
Name of the publication to which the subscription belongs.
- publisherDBName
Тип System. . :: . .String
Name of the publication database.
Замечания
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.