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.
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
'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.
|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.|
|Add||Add is used to add names to the list of forbidden names.|
|IsNameAllowed||IsNameAllowed is used to determine whether a named is currently forbidden.|
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.