Share via


ForbiddenHostNames Class

ForbiddenNames is class that tracks a set of keyword/names that are reserved for use in the URL space. This means Accounts, Collections, and Projects should not be able to use these terms.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.ForbiddenHostNames

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

Syntax

'Declaration
Public NotInheritable Class ForbiddenHostNames
public static class ForbiddenHostNames
public ref class ForbiddenHostNames abstract sealed
[<AbstractClass>]
[<Sealed>]
type ForbiddenHostNames =  class end
public final class ForbiddenHostNames

The ForbiddenHostNames type exposes the following members.

Properties

  Name Description
Public propertyStatic member BuiltinServiceNames
Public propertyStatic member Names Names will return the set of forbidden names that are currently registered. To change the set you can use the Add method, forbidden names cannot be removed after they have been added.

Top

Methods

  Name Description
Public methodStatic member Add Add is used to add names to the list of forbidden names.
Public methodStatic member IsNameAllowed IsNameAllowed is used to determine whether a named is currently forbidden.

Top

Fields

  Name Description
Public fieldStatic member AppSubDomain
Public fieldStatic member DeploymentSubDomain

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace