ServerEventArgs.Spid Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property Spid As Integer
    Get
'Usage
Dim instance As ServerEventArgs
Dim value As Integer

value = instance.Spid
public int Spid { get; }
public:
property int Spid {
    int get ();
}
member Spid : int
function get Spid () : int

Property Value

Type: System.Int32
An Int32 value that specifies the event SPID.