Resource

Resource class

Represents a resource in a project.

Methods

NameDescription
DeleteDeletes a resource and its assignments from project.
Equals (2 overloads)Returns a value indicating whether this instance is equal to a specified instance of the Resource class.
GetReturns the value to which the property is mapped in this container.
get_AccrueAtGets a value of AccrueAt.
get_ActiveDirectoryGuidGets a value of ActiveDirectoryGuid.
get_ActualCostGets a value of ActualCost.
get_ActualOvertimeCostGets a value of ActualOvertimeCost.
get_ActualOvertimeWorkGets a value of ActualOvertimeWork.
get_ActualOvertimeWorkProtectedGets a value of ActualOvertimeWorkProtected.
get_ActualWorkGets a value of ActualWork.
get_ActualWorkProtectedGets a value of ActualWorkProtected.
get_ACWPGets a value of ACWP.
get_AssignmentOwnerGets a value of AssignmentOwner.
get_AssignmentOwnerGuidGets a value of AssignmentOwnerGuid.
get_AssignmentsGets a collection of resource assignments for this object.
get_AvailabilityPeriodsGets a the instance of the AvailabilityPeriodCollection class. The collection of periods during which a resource is available.
get_AvailableFromGets a value of AvailableFrom.
get_AvailableToGets a value of AvailableTo.
get_BaselinesGets a BaselineCollection instance for this object. The baseline values for a resource.
get_BCWPGets a value of BCWP.
get_BCWSGets a value of BCWS.
get_BookingTypeGets a value of BookingType.
get_BudgetCostGets a value of BudgetCost.
get_BudgetWorkGets a value of BudgetWork.
get_CalendarGets a value of Calendar .
get_CanLevelGets a value indicating whether CanLevel is set or not.
get_CodeGets a value of Code.
get_CostGets a value of Cost.
get_CostCenterGets a value of CostCenter.
get_CostPerUseGets a value of CostPerUse.
get_CostVarianceGets a value of CostVariance.
get_CreatedGets a value of Created.
get_CVGets a value of CV.
get_EMailAddressGets a value of EMailAddress.
get_ExtendedAttributesGets the values of an extended attribute.
get_FinishGets a value of Finish.
get_GroupGets a value of Group .
get_GuidGets a value of Guid.
get_HyperlinkGets the title or explanatory text of a hyperlink associated with a resource.
get_HyperlinkAddressGets the address for a hyperlink associated with a resource.
get_HyperlinkSubAddressGets the specific location in a document in a hyperlink associated with a resource.
get_IdGets a value of Id.
get_InactiveGets a value indicating whether Inactive is set or not.
get_InitialsGets a value of Initials.
get_IsBudgetGets a value indicating whether IsBudget is set or not.
get_IsCostResourceGets a value indicating whether IsCostResource is set or not.
get_IsEnterpriseGets a value indicating whether IsEnterprise is set or not.
get_IsGenericGets a value indicating whether IsGeneric is set or not.
get_IsNullGets a value indicating whether IsNull is set or not.
get_IsRootGets 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.
get_IsTeamAssignmentPoolGets a value indicating whether IsTeamAssignmentPool is set or not.
get_MaterialLabelGets a value of MaterialLabel.
get_MaxUnitsGets a value of MaxUnits.
get_NameGets a value of Name.
get_NotesRTFGets a value of NotesRTF.
get_NotesTextGets a value of NotesText.
get_OutlineCodeGets an OutlineCodeCollection object. The value of an outline code.
get_OverallocatedGets a value indicating whether Overallocated is set or not.
get_OvertimeCostGets a value of OvertimeCost.
get_OvertimeRateGets a value of OvertimeRate.
get_OvertimeRateFormatGets a value of OvertimeRateFormat.
get_OvertimeWorkGets a value of OvertimeWork.
get_ParentProjectGets parent project for this container.
get_PeakUnitsGets a value of PeakUnits.
get_PercentWorkCompleteGets a value of PercentWorkComplete.
get_PhoneticsGets a value of Phonetics.
get_RatesGets a the instance of the RateCollection class for this object. The collection of periods and rates associated with each one.
get_RegularWorkGets a value of RegularWork.
get_RemainingCostGets a value of RemainingCost.
get_RemainingOvertimeCostGets a value of RemainingOvertimeCost.
get_RemainingOvertimeWorkGets a value of RemainingOvertimeWork.
get_RemainingWorkGets a value of RemainingWork.
get_StandardRateGets a value of StandardRate.
get_StandardRateFormatGets a value of StandardRateFormat.
get_StartGets a value of Start.
get_SVGets a value of SV.
get_TimephasedDataGets an instance of TimephasedDataCollection class for this object.
get_TypeGets a value of Type.
get_UidGets a value of Uid.
get_WindowsUserAccountGets a value of WindowsUserAccount.
get_WorkGets a value of Work.
get_WorkgroupGets a value of Workgroup.
get_WorkVarianceGets a value of WorkVariance.
GetHashCodeReturns a hash code value for the instance of the Resource class.
GetTimephasedData (2 overloads)Returns TimephasedDataCollection for this object with TimephasedData values within given start and end dates.
Set (2 overloads)Maps the specified property to the specified value in this container.
set_AccrueAtSets a value of AccrueAt.
set_ActiveDirectoryGuidSets a value of ActiveDirectoryGuid.
set_ActualCostSets a value of ActualCost.
set_ActualOvertimeCostSets a value of ActualOvertimeCost.
set_ActualOvertimeWorkSets a value of ActualOvertimeWork.
set_ActualOvertimeWorkProtectedSets a value of ActualOvertimeWorkProtected.
set_ActualWorkSets a value of ActualWork.
set_ActualWorkProtectedSets a value of ActualWorkProtected.
set_ACWPSets a value of ACWP.
set_AssignmentOwnerSets a value of AssignmentOwner.
set_AssignmentOwnerGuidSets a value of AssignmentOwnerGuid.
set_AvailableFromSets a value of AvailableFrom.
set_AvailableToSets a value of AvailableTo.
set_BCWPSets a value of BCWP.
set_BCWSSets a value of BCWS.
set_BookingTypeSets a value of BookingType.
set_BudgetCostSets a value of BudgetCost.
set_BudgetWorkSets a value of BudgetWork.
set_CalendarSets a value of Calendar .
set_CanLevelSets a value indicating whether CanLevel is set or not.
set_CodeSets a value of Code.
set_CostSets a value of Cost.
set_CostCenterSets a value of CostCenter.
set_CostPerUseSets a value of CostPerUse.
set_CostVarianceSets a value of CostVariance.
set_CreatedSets a value of Created.
set_CVSets a value of CV.
set_EMailAddressSets a value of EMailAddress.
set_FinishSets a value of Finish.
set_GroupSets a value of Group .
set_GuidSets a value of Guid.
set_HyperlinkSets the title or explanatory text of a hyperlink associated with a resource.
set_HyperlinkAddressSets the address for a hyperlink associated with a resource.
set_HyperlinkSubAddressSets the specific location in a document in a hyperlink associated with a resource.
set_IdSets a value of Id.
set_InactiveSets a value indicating whether Inactive is set or not.
set_InitialsSets a value of Initials.
set_IsBudgetSets a value indicating whether IsBudget is set or not.
set_IsCostResourceSets a value indicating whether IsCostResource is set or not.
set_IsEnterpriseSets a value indicating whether IsEnterprise is set or not.
set_IsGenericSets a value indicating whether IsGeneric is set or not.
set_IsNullSets a value indicating whether IsNull is set or not.
set_IsTeamAssignmentPoolSets a value indicating whether IsTeamAssignmentPool is set or not.
set_MaterialLabelSets a value of MaterialLabel.
set_MaxUnitsSets a value of MaxUnits.
set_NameSets a value of Name.
set_NotesRTFSets a value of NotesRTF.
set_NotesTextSets a value of NotesText.
set_OverallocatedSets a value indicating whether Overallocated is set or not.
set_OvertimeCostSets a value of OvertimeCost.
set_OvertimeRateSets a value of OvertimeRate.
set_OvertimeRateFormatSets a value of OvertimeRateFormat.
set_OvertimeWorkSets a value of OvertimeWork.
set_PeakUnitsSets a value of PeakUnits.
set_PercentWorkCompleteSets a value of PercentWorkComplete.
set_PhoneticsSets a value of Phonetics.
set_RegularWorkSets a value of RegularWork.
set_RemainingCostSets a value of RemainingCost.
set_RemainingOvertimeCostSets a value of RemainingOvertimeCost.
set_RemainingOvertimeWorkSets a value of RemainingOvertimeWork.
set_RemainingWorkSets a value of RemainingWork.
set_StandardRateSets a value of StandardRate.
set_StandardRateFormatSets a value of StandardRateFormat.
set_StartSets a value of Start.
set_SVSets a value of SV.
set_TimephasedDataSets an instance of TimephasedDataCollection class for this object.
set_TypeSets a value of Type.
set_UidSets a value of Uid.
set_WindowsUserAccountSets a value of WindowsUserAccount.
set_WorkSets a value of Work.
set_WorkgroupSets a value of Workgroup.
set_WorkVarianceSets a value of WorkVariance.
ToStringReturns short string representation of the instance of the Resource class. The exact details of the representation are unspecified and subject to change.