共用方式為


ProxyInfo.Site Property

This is a string representation of the site that the proxy server is located in (e.g. "NA-WA-RED".)

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Property Site As String
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public string Site { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property String^ Site {
    String^ get ();
    void set (String^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member Site : string with get, set
function get Site () : String 
function set Site (value : String)

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

ProxyInfo Class

Microsoft.TeamFoundation.VersionControl.Server Namespace