共用方式為


Spid 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property Spid As Integer
    Get
'用途
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

屬性值

型別:System. . :: . .Int32
An Int32 value that specifies the event SPID.