PublisherMonitor.ExcludeAnonymousSubscriptions Property

Gets whether or not information on anonymous subscriptions is returned.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Property ExcludeAnonymousSubscriptions As Boolean 
    Get 
    Set
'Usage
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)

Property Value

Type: System.Boolean
A Boolean value. If true, information on anonymous subscriptions is returned. If false, information on anonymous subscriptions is not returned.

Remarks

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

See Also

Reference

PublisherMonitor Class

Microsoft.SqlServer.Replication Namespace