Constructeur ReplicationMonitor (ServerConnection)
Creates a new instance of the ReplicationMonitor class with the specified connection to the instance of Microsoft SQL Server.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
connectionContext As ServerConnection _
)
'Utilisation
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
)
Paramètres
- connectionContext
Type : 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.