ExcludeAnonymousSubscriptions プロパティ

匿名サブスクリプションに関する情報が返されるかどうかを取得します。

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Rmo (Microsoft.SqlServer.Rmo.dll)

構文

'宣言
Public Property ExcludeAnonymousSubscriptions As Boolean
    Get
    Set
'使用
Dim instance As PublisherMonitor
Dim value As Boolean

value = instance.ExcludeAnonymousSubscriptions

instance.ExcludeAnonymousSubscriptions = value
public bool ExcludeAnonymousSubscriptions { get; set; }
public:
property bool ExcludeAnonymousSubscriptions {
    bool get ();
    void set (bool value);
}
member ExcludeAnonymousSubscriptions : bool with get, set
function get ExcludeAnonymousSubscriptions () : boolean
function set ExcludeAnonymousSubscriptions (value : boolean)

プロパティ値

型: System. . :: . .Boolean
Boolean 値です。true の場合、匿名サブスクリプションに関する情報が返されます。false の場合、匿名サブスクリプションに関する情報は返されません。

説明

DistributionDatabase プロパティを取得できるのは、ディストリビュータ側の固定サーバー ロール sysadmin のメンバ、あるいはディストリビューション データベースの固定データベース ロール db_owner または replmonitor のメンバだけです。

ExcludeAnonymousSubscriptions プロパティは、SQL Server 2000 および SQL Server 2005 で使用できます。

この名前空間、クラス、またはメンバは、.NET Framework 2.0 でのみサポートされています。