Partager via


TfsConnection.SessionId Property

Gets the GUID that identifies this instance of the client to the server.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public ReadOnly Property SessionId As Guid
public Guid SessionId { get; }
public:
property Guid SessionId {
    Guid get ();
}
member SessionId : Guid with get
function get SessionId () : Guid

Property Value

Type: System.Guid
Returns Guid.

Remarks

The GUID is recorded to the activity log of the server.

.NET Framework Security

See Also

Reference

TfsConnection Class

Microsoft.TeamFoundation.Client Namespace