Compartir a través de


ServerEventArgs.Spid Property

Gets the server process identifier (SPID) of the event.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public ReadOnly Property Spid As Integer
public int Spid { get; }
public:
property int Spid {
    int get ();
}
/** @property */
public int get_Spid ()
public function get Spid () : int

Valor de propiedad

An Int32 value that specifies the event SPID.

Notas

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

Ejemplo

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

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

ServerEventArgs Class
ServerEventArgs Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Handling SMO Events