Share via


ServerConnection.ProcessID Property

Gets the ID value that uniquely identifies the process associated with the referenced connection to the server.

Namespace: Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntax

'Declaration
Public ReadOnly Property ProcessID As Integer
public int ProcessID { get; }
public:
property int ProcessID {
    int get ();
}
/** @property */
public int get_ProcessID ()
public function get ProcessID () : int

Eigenschaftswert

An Int32 value that specifies the ID value that uniquely identifies the process associated with the referenced connection to the server.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

ServerConnection Class
ServerConnection Members
Microsoft.SqlServer.Management.Common Namespace

Andere Ressourcen

Setting Properties
sp_who (Transact-SQL)
sys.sysprocesses (Transact-SQL)