Table of contents
TOC
Collapse the table of content
Expand the table of content

Assignment.EnterpriseTeamMember Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Indicates whether the specified assignment belongs to the project. True if the assignment belongs to the specified project; otherwise False. Available in Project Professional only.

Syntax

expression. EnterpriseTeamMember( ** Project** )

expression A variable that represents an Assignment object.

Parameters

NameRequired/OptionalData TypeDescription
ProjectRequiredObjectThe Project object against which the expression is checked. For example, ActiveProject.

Return Value

Boolean

Remarks

The EnterpriseTeamMember method returns False for summary resource assignments, because the assignment or resource is from another project.

The EnterpriseTeamMember method returns a trappable error (error code 1004) if the active view is not a Resource or Assignment view.

© 2018 Microsoft