Resource

Resource class

Represents a resource in a project.

The Resource type exposes the following members:

Properties

NameDescription
accrue_atGets or sets a value of AccrueAt.
active_directory_guidGets or sets a value of ActiveDirectoryGuid.
actual_costGets or sets a value of ActualCost.
actual_overtime_costGets or sets a value of ActualOvertimeCost.
actual_overtime_workGets or sets a value of ActualOvertimeWork.
actual_overtime_work_protectedGets or sets a value of ActualOvertimeWorkProtected.
actual_workGets or sets a value of ActualWork.
actual_work_protectedGets or sets a value of ActualWorkProtected.
acwpGets or sets a value of ACWP.
assignment_ownerGets or sets a value of AssignmentOwner.
assignment_owner_guidGets or sets a value of AssignmentOwnerGuid.
available_fromGets or sets a value of AvailableFrom.
available_toGets or sets a value of AvailableTo.
bcwpGets or sets a value of BCWP.
bcwsGets or sets a value of BCWS.
booking_typeGets or sets a value of BookingType.
budget_costGets or sets a value of BudgetCost.
budget_workGets or sets a value of BudgetWork.
calendarGets or sets a value of Calendar.
can_levelGets or sets a value indicating whether CanLevel is set or not.
codeGets or sets a value of Code.
costGets or sets a value of Cost.
cost_centerGets or sets a value of CostCenter.
cost_per_useGets or sets a value of CostPerUse.
cost_varianceGets or sets a value of CostVariance.
createdGets or sets a value of Created.
cvGets or sets a value of CV.
e_mail_addressGets or sets a value of EMailAddress.
finishGets or sets a value of Finish.
groupGets or sets a value of Group.
guidGets or sets a value of Guid.
hyperlinkGets or sets the title or explanatory text of a hyperlink associated with a resource.
hyperlink_addressGets or sets the address for a hyperlink associated with a resource.
hyperlink_sub_addressGets or sets the specific location in a document in a hyperlink associated with a resource.
idGets or sets a value of Id.
inactiveGets or sets a value indicating whether Inactive is set or not.
initialsGets or sets a value of Initials.
is_budgetGets or sets a value indicating whether IsBudget is set or not.
is_cost_resourceGets or sets a value indicating whether IsCostResource is set or not.
is_enterpriseGets or sets a value indicating whether IsEnterprise is set or not.
is_genericGets or sets a value indicating whether IsGeneric is set or not.
is_nullGets or sets a value indicating whether IsNull is set or not.
is_team_assignment_poolGets or sets a value indicating whether IsTeamAssignmentPool is set or not.
material_labelGets or sets a value of MaterialLabel.
max_unitsGets or sets a value of MaxUnits.
nameGets or sets a value of Name.
notes_rtfGets or sets a value of NotesRTF.
notes_textGets or sets a value of NotesText.
overallocatedGets or sets a value indicating whether Overallocated is set or not.
overtime_costGets or sets a value of OvertimeCost.
overtime_rateGets or sets a value of OvertimeRate.
overtime_rate_formatGets or sets a value of OvertimeRateFormat.
overtime_workGets or sets a value of OvertimeWork.
peak_unitsGets or sets a value of PeakUnits.
percent_work_completeGets or sets a value of PercentWorkComplete.
phoneticsGets or sets a value of Phonetics.
regular_workGets or sets a value of RegularWork.
remaining_costGets or sets a value of RemainingCost.
remaining_overtime_costGets or sets a value of RemainingOvertimeCost.
remaining_overtime_workGets or sets a value of RemainingOvertimeWork.
remaining_workGets or sets a value of RemainingWork.
standard_rateGets or sets a value of StandardRate.
standard_rate_formatGets or sets a value of StandardRateFormat.
startGets or sets a value of Start.
svGets or sets a value of SV.
typeGets or sets a value of Type.
uidGets or sets a value of Uid.
windows_user_accountGets or sets a value of WindowsUserAccount.
workGets or sets a value of Work.
workgroupGets or sets a value of Workgroup.
work_varianceGets or sets a value of WorkVariance.
parent_projectGets parent project for this container.
extended_attributesGets the values of an extended attribute.
baselinesGets a BaselineCollection instance for this object.
The baseline values for a resource.
outline_codeGets an OutlineCodeCollection object.
The value of an outline code.
availability_periodsGets a the instance of the AvailabilityPeriodCollection class.
The collection of periods during which a resource is available.
ratesGets a the instance of the RateCollection class for this object.
The collection of periods and rates associated with each one.
assignmentsGets a collection of resource assignments for this object.
timephased_dataGets or sets an instance of TimephasedDataCollection class for this object.
is_rootGets the flag indicating whether resource is a root resource.
Root resource is a special resource which is intended to support internals of
MS Project’s formats and is not intended to be used directly from the user’s code.

Methods

NameDescription
get_timephased_data(start, end, timephased_type)Returns an instance of the TimephasedDataCollection class for this object with the timephased_data values within given start and end dates of specified TimephasedDataType.
get_timephased_data(start, end)Returns an instance of the TimephasedDataCollection class for this object with the timephased_data values within given start and end dates of specified TimephasedDataType.
equals(other)Returns a value indicating whether this instance is equal to a specified instance of the Resource class.
delete()Deletes a resource and its assignments from project.

See Also