Directive.MaximumGoalCount Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the maximum number of goals to use.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
Public Property MaximumGoalCount As Integer
public int MaximumGoalCount { get; set; }
public:
property int MaximumGoalCount {
    int get ();
    void set (int value);
}
member MaximumGoalCount : int with get, set
function get MaximumGoalCount () : int
function set MaximumGoalCount (value : int)

Property Value

Type: System.Int32
The maximum number of goals to use.

Remarks

If the MaximumGoalCount property is negative, there is no limit to the number of goals.

.NET Framework Security

See Also

Reference

Directive Class

Microsoft.SolverFoundation.Services Namespace