共用方式為


NSActivationState 列舉

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
Public Enumeration NSActivationState
'用途
Dim instance As NSActivationState
public enum NSActivationState
public enum class NSActivationState
type NSActivationState
public enum NSActivationState

成員

成員名稱 說明
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 enables. This state indicates that the change has not yet been completed by the Notification Services engine. If the Notification Services engine is running on the server specified in the application definition, the state should change to Enabled with 30 seconds.

備註

Thread Safety

此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間