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.