SqlException.ClientConnectionId Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents the client connection ID. For more information, see Data Tracing in ADO.NET.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

Public ReadOnly Property ClientConnectionId As Guid

Property Value

Type: System.Guid

Returns the client connection ID.

For a code sample, see ToString.

.NET Framework
Available since 4.5
Return to top