Construtor ReplicationMonitor (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 (em Microsoft.SqlServer.Rmo.dll)
Sintaxe
'Declaração
Public Sub New ( _
connectionContext As ServerConnection _
)
'Uso
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
)
Parâmetros
- connectionContext
Tipo: Microsoft.SqlServer.Management.Common.ServerConnection
A ServerConnection object value that specifies the connection context used to establish a connection with the instance of SQL Server.