Partager via


Propriété ExcludeAnonymousSubscriptions

Gets whether or not information on anonymous subscriptions is returned.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public Property ExcludeAnonymousSubscriptions As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

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.