Share via


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

成員

成員名稱 描述
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.
Enabled The component is configured to run.
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.
Disabled The component is not configured to run. When you first create an instance of Notification Services, all components are disabled.

備註

Thread Safety

這種類型的任何公用靜態 (在 Microsoft Visual Basic 中則為 Shared) 成員都可用於多執行緒作業。並不是所有的執行個體成員都保證可以用於所有的執行緒。