共用方式為


WorkspaceInfo.ServerGuid Property

Gets the GUID of the associated server that is running Team Foundation Server.

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

Syntax

'宣告
Public ReadOnly Property ServerGuid As Guid
    Get
public Guid ServerGuid { get; }
public:
property Guid ServerGuid {
    Guid get ();
}
member ServerGuid : Guid
function get ServerGuid () : Guid

Property Value

Type: System.Guid
The GUID of the associated server that is running Team Foundation Server.

.NET Framework Security

See Also

Reference

WorkspaceInfo Class

Microsoft.TeamFoundation.VersionControl.Client Namespace