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

'Déclaration
Public ReadOnly Property SessionId As Guid
    Get
public Guid SessionId { get; }
public:
property Guid SessionId {
    Guid get ();
}
member SessionId : Guid
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