ExcludeAnonymousSubscriptions 屬性

Gets whether or not information on anonymous subscriptions is returned.

命名空間:  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
A Boolean value. If true, information on anonymous subscriptions is returned. If false, information on anonymous subscriptions is not returned.

備註

The DistributionDatabase property can only be retrieved by members of the sysadmin fixed server role at the Distributor or by members of the db_owner or replmonitor fixed database roles on the distribution database

The ExcludeAnonymousSubscriptions property is available with SQL Server 2000 and SQL Server 2005.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.