Share 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: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorDebugThread2 Interface

ICorDebugThread Interface