共用方式為


TfsConnection.IsHostedServer Property

Returns true if the server is a Microsoft Azure-hosted Team Foundation Server server

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

Syntax

'Declaration
Public ReadOnly Property IsHostedServer As Boolean
public bool IsHostedServer { get; }
public:
property bool IsHostedServer {
    bool get ();
}
member IsHostedServer : bool with get
function get IsHostedServer () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

TfsConnection Class

Microsoft.TeamFoundation.Client Namespace