共用方式為


WorkspaceInfo.ServerUri Property

Gets the uniform resource identifier (URI) 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

'Declaration
Public ReadOnly Property ServerUri As Uri
public Uri ServerUri { get; }
public:
property Uri^ ServerUri {
    Uri^ get ();
}
member ServerUri : Uri with get
function get ServerUri () : Uri

Property Value

Type: System.Uri
The URI of the associated server that is running Team Foundation Server.

.NET Framework Security

See Also

Reference

WorkspaceInfo Class

Microsoft.TeamFoundation.VersionControl.Client Namespace