Freigeben über


ICorDebugThread2::GetConnectionID Method

Gets the connection identifier for this ICorDebugThread2 Interface.

HRESULT GetConnectionID (
    [out] CONNID *pdwConnectionId
);

Parameters

Parameter Description

pdwConnectionId

[out] A CONNID that is 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

Reference

ICorDebugThread2 Interface
ICorDebugThread Interface