共用方式為


VersionControlServer.ServerGuid Property

Gets the GUID of the Version Control Server repository.

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

Syntax

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

Property Value

Type: System.Guid
The GUID of the Version Control Server repository.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace