Объект Resource (Project)Resource object (Project)

Представляет ресурс.Represents a resource. Объект Resource является членом коллекции ресурсов .The Resource object is a member of the Resources collection. Использование объекта Resource Используйте Resources (index), где index — это номер индекса ресурса или имя ресурса, чтобы получить один объект ресурса .Using the Resource Object Use Resources (index), where index is the resource index number or resource name, to return a single Resource object. В приведенном ниже примере выводится список имен всех ресурсов в активном проекте.The following example lists the names of all resources in the active project. Использование коллекции Resources Чтобы получить коллекцию Resources , используйте свойство Resources .Using the Resources Collection Use the Resources property to return a Resources collection. В приведенном ниже примере создается тот же список, что и в предыдущем примере, но это выполняется путем установки ActiveProject.Resourcesссылки на объект, R а ActiveProject.Resources затем с помощью WHERE.The following example generates the same list as the previous example, but does so by setting an object reference to ActiveProject.Resourcesand then by using R where ActiveProject.Resources is used. Используйте метод Add , чтобы добавить объект ресурса в коллекцию Resources .Use the Add method to add a Resource object to the Resources collection. В приведенном ниже примере в активный проект добавляется новый ресурс с именем Матилда.The following example adds a new resource named Matilda to the active project.

МетодыMethods

ИмяName
AppendNotesAppendNotes
DeleteDelete
EnterpriseTeamMemberEnterpriseTeamMember
GetFieldGetField
LevelLevel
SetFieldSetField
TimeScaleDataTimeScaleData

СвойстваProperties

ИмяName
AccrueAtAccrueAt
ActualCostActualCost
ActualOvertimeCostActualOvertimeCost
ActualOvertimeWorkActualOvertimeWork
ActualWorkActualWork
ACWPACWP
ApplicationApplication
AssignmentsAssignments
AvailabilitiesAvailabilities
AvailableFromAvailableFrom
AvailableToAvailableTo
BaseCalendarBaseCalendar
Baseline10BudgetCostBaseline10BudgetCost
Baseline10BudgetWorkBaseline10BudgetWork
Baseline10CostBaseline10Cost
Baseline10WorkBaseline10Work
Baseline1BudgetCostBaseline1BudgetCost
Baseline1BudgetWorkBaseline1BudgetWork
Baseline1CostBaseline1Cost
Baseline1WorkBaseline1Work
Baseline2BudgetCostBaseline2BudgetCost
Baseline2BudgetWorkBaseline2BudgetWork
Baseline2CostBaseline2Cost
Baseline2WorkBaseline2Work
Baseline3BudgetCostBaseline3BudgetCost
Baseline3BudgetWorkBaseline3BudgetWork
Baseline3CostBaseline3Cost
Baseline3WorkBaseline3Work
Baseline4BudgetCostBaseline4BudgetCost
Baseline4BudgetWorkBaseline4BudgetWork
Baseline4CostBaseline4Cost
Baseline4WorkBaseline4Work
Baseline5BudgetCostBaseline5BudgetCost
Baseline5BudgetWorkBaseline5BudgetWork
Baseline5CostBaseline5Cost
Baseline5WorkBaseline5Work
Baseline6BudgetCostBaseline6BudgetCost
Baseline6BudgetWorkBaseline6BudgetWork
Baseline6CostBaseline6Cost
Baseline6WorkBaseline6Work
Baseline7BudgetCostBaseline7BudgetCost
Baseline7BudgetWorkBaseline7BudgetWork
Baseline7CostBaseline7Cost
Baseline7WorkBaseline7Work
Baseline8BudgetCostBaseline8BudgetCost
Baseline8BudgetWorkBaseline8BudgetWork
Baseline8CostBaseline8Cost
Baseline8WorkBaseline8Work
Baseline9BudgetCostBaseline9BudgetCost
Baseline9BudgetWorkBaseline9BudgetWork
Baseline9CostBaseline9Cost
Baseline9WorkBaseline9Work
BaselineBudgetCostBaselineBudgetCost
BaselineBudgetWorkBaselineBudgetWork
BaselineCostBaselineCost
BaselineWorkBaselineWork
BCWPBCWP
BCWSBCWS
BookingTypeBookingType
BudgetBudget
BudgetCostBudgetCost
BudgetWorkBudgetWork
CalendarCalendar
CalendarGuidCalendarGuid
CanLevelCanLevel
CodeCode
CompliantCompliant
ConfirmedConfirmed
CostCost
Cost1Cost1
Cost10Cost10
Cost2Cost2
Cost3Cost3
Cost4Cost4
Cost5Cost5
Cost6Cost6
Cost7Cost7
Cost8Cost8
Cost9Cost9
CostCenterCostCenter
CostPerUseCostPerUse
CostRateTablesCostRateTables
CostVarianceCostVariance
CreatedCreated
CVCV
Date1Date1
Date10Date10
Date2Date2
Date3Date3
Date4Date4
Date5Date5
Date6Date6
Date7Date7
Date8Date8
Date9Date9
DefaultAssignmentOwnerDefaultAssignmentOwner
Duration1Duration1
Duration10Duration10
Duration2Duration2
Duration3Duration3
Duration4Duration4
Duration5Duration5
Duration6Duration6
Duration7Duration7
Duration8Duration8
Duration9Duration9
EMailAddressEMailAddress
EngagementCommittedFinishEngagementCommittedFinish
EngagementCommittedMaxUnitsEngagementCommittedMaxUnits
EngagementCommittedStartEngagementCommittedStart
EngagementCommittedWorkEngagementCommittedWork
EngagementDraftFinishEngagementDraftFinish
EngagementDraftMaxUnitsEngagementDraftMaxUnits
EngagementDraftStartEngagementDraftStart
EngagementDraftWorkEngagementDraftWork
EngagementProposedFinishEngagementProposedFinish
EngagementProposedMaxUnitsEngagementProposedMaxUnits
EngagementProposedStartEngagementProposedStart
EngagementProposedWorkEngagementProposedWork
EnterpriseEnterprise
EnterpriseBaseCalendarEnterpriseBaseCalendar
EnterpriseCheckedOutByEnterpriseCheckedOutBy
EnterpriseGenericEnterpriseGeneric
EnterpriseInactiveEnterpriseInactive
EnterpriseIsCheckedOutEnterpriseIsCheckedOut
EnterpriseLastModifiedDateEnterpriseLastModifiedDate
EnterpriseNameUsedEnterpriseNameUsed
EnterpriseRequiredValuesEnterpriseRequiredValues
EnterpriseUniqueIDEnterpriseUniqueID
ErrorMessageErrorMessage
Finish1Finish1
Finish10Finish10
Finish2Finish2
Finish3Finish3
Finish4Finish4
Finish5Finish5
Finish6Finish6
Finish7Finish7
Finish8Finish8
Finish9Finish9
Flag1Flag1
Flag10Flag10
Flag11Flag11
Flag12Flag12
Flag13Flag13
Flag14Flag14
Flag15Flag15
Flag16Flag16
Flag17Flag17
Flag18Flag18
Flag19Flag19
Flag2Flag2
Flag20Flag20
Flag3Flag3
Flag4Flag4
Flag5Flag5
Flag6Flag6
Flag7Flag7
Flag8Flag8
Flag9Flag9
GroupGroup
GroupBySummaryGroupBySummary
GuidGuid
HyperlinkHyperlink
HyperlinkAddressHyperlinkAddress
HyperlinkHREFHyperlinkHREF
HyperlinkScreenTipHyperlinkScreenTip
HyperlinkSubAddressHyperlinkSubAddress
IDID
ImportImport
IndexIndex
InitialsInitials
IsLockedIsLocked
IsTeamIsTeam
LinkedFieldsLinkedFields
MaterialLabelMaterialLabel
MaxUnitsMaxUnits
NameName
NotesNotes
Number1Number1
Number10Number10
Number11Number11
Number12Number12
Number13Number13
Number14Number14
Number15Number15
Number16Number16
Number17Number17
Number18Number18
Number19Number19
Number2Number2
Number20Number20
Number3Number3
Number4Number4
Number5Number5
Number6Number6
Number7Number7
Number8Number8
Number9Number9
ObjectsObjects
OutlineCode1OutlineCode1
OutlineCode10OutlineCode10
OutlineCode2OutlineCode2
OutlineCode3OutlineCode3
OutlineCode4OutlineCode4
OutlineCode5OutlineCode5
OutlineCode6OutlineCode6
OutlineCode7OutlineCode7
OutlineCode8OutlineCode8
OutlineCode9OutlineCode9
OverallocatedOverallocated
OvertimeCostOvertimeCost
OvertimeRateOvertimeRate
OvertimeWorkOvertimeWork
ParentParent
PayRatesPayRates
PeakUnitsPeakUnits
PercentWorkCompletePercentWorkComplete
PhoneticsPhonetics
ProjectProject
RegularWorkRegularWork
RemainingCostRemainingCost
RemainingOvertimeCostRemainingOvertimeCost
RemainingOvertimeWorkRemainingOvertimeWork
RemainingWorkRemainingWork
ResponsePendingResponsePending
StandardRateStandardRate
Start1Start1
Start10Start10
Start2Start2
Start3Start3
Start4Start4
Start5Start5
Start6Start6
Start7Start7
Start8Start8
Start9Start9
SVSV
TeamStatusPendingTeamStatusPending
Text1Text1
Text10Text10
Text11Text11
Text12Text12
Text13Text13
Text14Text14
Text15Text15
Text16Text16
Text17Text17
Text18Text18
Text19Text19
Text2Text2
Text20Text20
Text21Text21
Text22Text22
Text23Text23
Text24Text24
Text25Text25
Text26Text26
Text27Text27
Text28Text28
Text29Text29
Text3Text3
Text30Text30
Text4Text4
Text5Text5
Text6Text6
Text7Text7
Text8Text8
Text9Text9
TypeType
UniqueIDUniqueID
UpdateNeededUpdateNeeded
VACVAC
WindowsUserAccountWindowsUserAccount
WorkWork
WorkVarianceWorkVariance

Поддержка и обратная связьSupport and feedback

Есть вопросы или отзывы, касающиеся Office VBA или этой статьи?Have questions or feedback about Office VBA or this documentation? Руководство по другим способам получения поддержки и отправки отзывов см. в статье Поддержка Office VBA и обратная связь.Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.