ReplicationMonitor.StatusOf(AgentType) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
監視対象ディストリビューターのレプリケーションエージェントのエージェントタイプ別全体のステータスを返します。
public:
Microsoft::SqlServer::Replication::ReplicationStatus StatusOf(Microsoft::SqlServer::Replication::AgentType agentType);
public Microsoft.SqlServer.Replication.ReplicationStatus StatusOf(Microsoft.SqlServer.Replication.AgentType agentType);
member this.StatusOf : Microsoft.SqlServer.Replication.AgentType -> Microsoft.SqlServer.Replication.ReplicationStatus
Public Function StatusOf (agentType As AgentType) As ReplicationStatus
パラメーター
返品
ReplicationStatus オブジェクト。
注釈
AgentTypeによって指定されたエージェントの最高ステータス番号が返されます。
StatusOfメソッドは、ディストリビューターのsysadmin固定サーバーロールのメンバーか、配布データベース上のdb_ownerまたはreplmonitor固定データベースの役割のメンバーのみが取得できます。