Resource.EnterpriseTeamMember Method

Project Developer Reference

Returns whether the specified resource belongs to the project. True if the resource is a member of the specified project's team or False if the resource is not a member of the specified project's team.

Syntax

expression.EnterpriseTeamMember(Project)

expression   A variable that represents a Resource 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