共用方式為


NSActivationState Enumeration

The NSActivationState enumeration contains constant values that specify the activation state of Notification Services.

命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

語法

'宣告
Public Enumeration NSActivationState As Byte
public enum NSActivationState : byte
public enum class NSActivationState : unsigned char
public enum NSActivationState
public enum NSActivationState

Members

Member name Description
Disabled The component is not configured to run. When you first create an instance of Notification Services, all components are disabled.
DisablePending The component was in the Enabled state prior to being enabled. This state indicates that the change has not yet been completed by Notification Services engine. If the Notification Services engine is running on the server specified in the application definition, the state should change to Disabled within 30 seconds.
Enabled The component is configured to run.
EnablePending The component was in the Disabled state prior to being enabled. This state indicates that the change has not yet been completed by Notification Services engine. If the Notification Services engine is running on the server specified in the application definition, the state should change to Enabled within 30 seconds.

備註

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo Namespace