共用方式為


NSInstance.IsRunning Property

Gets the current state of the NSInstance for an instance of Notification Services.

命名空間: Microsoft.SqlServer.NotificationServices
組件: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

語法

'宣告
Public ReadOnly Property IsRunning As Boolean
public bool IsRunning { get; }
public:
virtual property bool IsRunning {
    bool get () sealed;
}
/** @property */
public final boolean get_IsRunning ()
public final function get IsRunning () : boolean

屬性值

true if the instance of Notification Services is running; otherwise, false.

備註

This method returns the state of the NSInstance object. This is useful for determining if the NSInstance object was able to own and start the instance. You also can use the NSInstance.ErrorEventHandler delegate to handle errors.

For more information about hosting the engine, see 主控 Notification Services 引擎.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

NSInstance Class
NSInstance Members
Microsoft.SqlServer.NotificationServices Namespace