Share via


ReplicationMonitor.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 ReplicationMonitor
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 ExcludeAnonymousSubscriptions 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.