StatusAndWarning プロパティ
パブリケーションに関連付けられたすべてのエージェントを含め、ディストリビュータで参照されたパブリケーションの状態と警告を取得します。
名前空間: Microsoft.SqlServer.Replication
アセンブリ: Microsoft.SqlServer.Rmo (Microsoft.SqlServer.Rmo.dll)
構文
'宣言
Public ReadOnly Property StatusAndWarning As ReplicationStatusAndWarning
Get
'使用
Dim instance As PublicationMonitor
Dim value As ReplicationStatusAndWarning
value = instance.StatusAndWarning
public ReplicationStatusAndWarning StatusAndWarning { get; }
public:
property ReplicationStatusAndWarning^ StatusAndWarning {
ReplicationStatusAndWarning^ get ();
}
member StatusAndWarning : ReplicationStatusAndWarning
function get StatusAndWarning () : ReplicationStatusAndWarning
プロパティ値
型: Microsoft.SqlServer.Replication. . :: . .ReplicationStatusAndWarning
ディストリビュータ上のパブリケーションおよび関連付けられたエージェントの状態と警告を指定する ReplicationStatusAndWarning オブジェクト値です。
説明
StatusAndWarning プロパティを取得できるのは、ディストリビュータ側の固定サーバー ロール sysadmin のメンバ、あるいはディストリビューション データベースの固定データベース ロール db_owner または replmonitor のメンバだけです。
StatusAndWarning プロパティは SQL Server 2005 でのみ使用できます。
この名前空間、クラス、またはメンバは、.NET Framework 2.0 でのみサポートされています。