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.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
Subscription Class
Subscription Members
Microsoft.SqlServer.NotificationServices Namespace