Share via


TfsApiHostTypeConstraint 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 TfsApiHostTypeConstraint(
    TeamFoundationHostType hostType
)
public:
TfsApiHostTypeConstraint(
    TeamFoundationHostType hostType
)
new : 
        hostType:TeamFoundationHostType -> TfsApiHostTypeConstraint
public function TfsApiHostTypeConstraint(
    hostType : TeamFoundationHostType
)

Parameters

.NET Framework Security

See Also

Reference

TfsApiHostTypeConstraint Class

Microsoft.TeamFoundation.Framework.Server Namespace