共用方式為


PublicationMonitor.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.

請參閱

參考

PublicationMonitor 類別

Microsoft.SqlServer.Replication 命名空間