Udostępnij za pośrednictwem


NotificationSubscription.Enabled Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets or sets a value that indicates whether the notification subscription is enabled. A disabled notification subscription does not deliver notifications.

Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As NotificationSubscription
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value

Syntax

'Declaration
Public Property Enabled As Boolean
public bool Enabled { get; set; }
public:
property bool Enabled {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_Enabled ()

/** @property */
public void set_Enabled (boolean value)
public function get Enabled () : boolean

public function set Enabled (value : boolean)

Property Value

Returns a Boolean that is true if the subscription is enabled and false otherwise..

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

NotificationSubscription Class
NotificationSubscription Members
Microsoft.EnterpriseManagement.Administration Namespace