Share via


ReplicationMonitor Constructor (ServerConnection)

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Sub New ( _
    connectionContext As ServerConnection _
)
'Usage
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
)

Parameters

Remarks

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