Availability.AvailableUnit Property (Project)
Gets or sets the percentage of time the resource is available during the availability period. Read/write Double.
expression A variable that represents an Availability object.
If the AvailableUnit value is 100, the resource is available 100% of the time.
You can set availability information on the General tab of the Resource Information dialog box, in the Resource Availability grid.
The following line of code prints the percentage of time the resource is available during the second availability period. If the availability period is not defined, the code results in run-time error 1101, "The argument value is not valid."