共用方式為


ExcludeAnonymousSubscriptions 屬性

Gets or sets whether anonymous subscriptions are excluded from or included in the monitor results.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Property ExcludeAnonymousSubscriptions As Boolean
    Get
    Set
'用途
Dim instance As PublicationMonitor
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, anonymous subscriptions are excluded from the results. If false, anonymous subscriptions are included in the results.

備註

The ExcludeAnonymousSubscriptions property can be retrieved or set by any user.

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.