TfsHostTypeConstraint Constructor

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

.NET Framework Security

See Also

Reference

TfsHostTypeConstraint Class

Microsoft.TeamFoundation.Framework.Server Namespace