共用方式為


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
)

參數

  • subscriberDBName
    型別:System.String
    Name of the subscription database.
  • 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.

請參閱

參考

MergeSubscriberMonitor 類別

MergeSubscriberMonitor 多載

Microsoft.SqlServer.Replication 命名空間

其他資源

Subscriber Monitor Sample