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
)
参数
- connectionContext
类型: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.