Initializes a new TfsHostTypeConstraint instance with the specified host type(s). The resource will only be visible if the request context targets one of the specified hosts.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub New ( _
    hostType As TeamFoundationHostType _
)
public TfsHostTypeConstraint(
    TeamFoundationHostType hostType
)
public:
TfsHostTypeConstraint(
    TeamFoundationHostType hostType
)
new : 
        hostType:TeamFoundationHostType -> TfsHostTypeConstraint
public function TfsHostTypeConstraint(
    hostType : TeamFoundationHostType
)
Parameters
- hostType 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationHostType- The host type or types for which the resource is visible 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.