共用方式為


ReplicationMonitor 建構函式 (ServerConnection)

Creates a new instance of the ReplicationMonitor class with the specified connection to the instance of Microsoft SQL Server.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Sub New ( _
    connectionContext As ServerConnection _
)
'用途
Dim connectionContext As ServerConnection

Dim instance As New ReplicationMonitor(connectionContext)
public ReplicationMonitor(
    ServerConnection connectionContext
)
public:
ReplicationMonitor(
    ServerConnection^ connectionContext
)
new : 
        connectionContext:ServerConnection -> ReplicationMonitor
public function ReplicationMonitor(
    connectionContext : ServerConnection
)

參數

備註

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.