Assignment.EnterpriseTeamMember Method
Project Developer Reference |
Returns whether the specified assignment belongs to the project. True if the assignment belongs to the specified project or False if the assignment does not belong to the specified project.
Syntax
expression.EnterpriseTeamMember(Project)
expression A variable that represents an Assignment object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Project | Required | Object | The Project object against which the expression is checked. For example, ActiveProject. |
Return Value
Boolean
Remarks
This method is available only in Microsoft Office Project 2007 and in Microsoft Office Project Professional 2003.
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.
See Also