Compartilhar via


ICorDebugThread2::GetConnectionID Method

Gets the connection identifier for this ICorDebugThread2 object.

HRESULT GetConnectionID (
    [out] CONNID *pdwConnectionId
);

Parameters

  • pdwConnectionId
    [out] A CONNID that represents the connection identifier.

Remarks

The GetConnectionID method returns zero in the pdwConnectionId parameter, if this thread is not part of a connection.

If this thread is connected to an instance of Microsoft SQL Server 2005 Analysis Services (SSAS), the CONNID maps to a server process identifier (SPID).

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

ICorDebugThread2 Interface

ICorDebugThread Interface