MaxUnits

Rsc.MaxUnits field

The maximum number of units representing the maximum capacity for which a resource is available to accomplish any tasks during the current time period.

public static readonly Key<double, RscKey> MaxUnits;

Examples

Shows how to read/write Rsc.MaxUnits property.

var project = new Project();

var resource = project.Resources.Add("Resource");

resource.Set(Rsc.MaxUnits, 2);

Console.WriteLine("Max Units: " + resource.Get(Rsc.MaxUnits));

See Also