Delen via


TeamFoundationServiceHost.Authority Property

Returns the authority of the host (e.g. contoso.tfs.com). This can be null if the host does not require authority-matching for host selection.

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

Syntax

'Declaration
Public ReadOnly Property Authority As String
public string Authority { get; }
public:
property String^ Authority {
    String^ get ();
}
member Authority : string with get
function get Authority () : String

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

TeamFoundationServiceHost Class

Microsoft.TeamFoundation.Framework.Server Namespace