Application.ResourceSharingPoolAction Method (Project)

Performs the specified action on a local resource pool.

Syntax

expression. ResourceSharingPoolAction( _Action_, _Filename_, _ReadOnly_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
action Required Long The actions to perform on the resource pool. Can be one of the PjPoolAction constants.
Filename Optional String The file name of the resource pool on which to perform the action.
ReadOnly Optional Boolean True if the files specified with FileName are opened read-only.

Return value

Boolean

Remarks

Note Project Professional can share local resources only when not logged on Project Server. If Project Professional is using a Project Server profile, local resource sharing is unavailable.