SqlException.ClientConnectionId 屬性

定義

表示用戶端連接 ID。Represents the client connection ID. 如需詳細資訊,請參閱 ADO.NET 中的資料追蹤For more information, see Data Tracing in ADO.NET.

public:
 property Guid ClientConnectionId { Guid get(); };
public Guid ClientConnectionId { get; }
member this.ClientConnectionId : Guid
Public ReadOnly Property ClientConnectionId As Guid

屬性值

用戶端連接識別碼。The client connection ID.

備註

如需程式碼範例,請參閱ToStringFor a code sample, see ToString.

適用於