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
'宣告
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.