Condividi tramite


ConstraintHelper.CreateHostEnvironmentConstraint Method

Creates a Constraint for verifying that the activity is in the correct host environment.

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Validation
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Dichiarazione
Public Shared Function CreateHostEnvironmentConstraint As Constraint
public static Constraint CreateHostEnvironmentConstraint()
public:
static Constraint^ CreateHostEnvironmentConstraint()
static member CreateHostEnvironmentConstraint : unit -> Constraint 
public static function CreateHostEnvironmentConstraint() : Constraint

Return Value

Type: System.Activities.Validation.Constraint
A Constraint for verifying that the activity is in the correct host environment.

.NET Framework Security

See Also

Reference

ConstraintHelper Class

Microsoft.TeamFoundation.Build.Workflow.Validation Namespace