Compartir a través de


NSInstance.IsRunning Property

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

Espacio de nombres: Microsoft.SqlServer.NotificationServices
Ensamblado: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintaxis

'Declaración
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

Valor de propiedad

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

Notas

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 Alojar el motor de Notification Services.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

NSInstance Class
NSInstance Members
Microsoft.SqlServer.NotificationServices Namespace