다음을 통해 공유


Subscription.Enabled Property

Gets or sets the status of a subscription.

네임스페이스: Microsoft.SqlServer.NotificationServices
어셈블리: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

구문

‘선언
Public Property Enabled As Boolean
public bool Enabled { get; set; }
public:
virtual property bool Enabled {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_Enabled ()

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

public final function set Enabled (value : boolean)

속성 값

A Boolean value indicating whether the subscription is enabled.

주의

This property gets or sets the status of a subscription, by changing the value of the Enabled field in the subscription record.

The Enabled property allows you to enable or disable a subscription within the Notification Services system. When the Enabled property value is true, the subscription is active and can generate notifications. When the Enabled property value is false, the subscription is disabled and cannot generate notifications.

This property default is true.

스레드 보안

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

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

Subscription Class
Subscription Members
Microsoft.SqlServer.NotificationServices Namespace