Share via


AddProjectObject Method

The AddProjectObject method creates a new object entry for a specified project in the MSP_WEB_OBJECTS table.

Syntax

Function AddProjectObject(ByVal dwProjID   As Unsigned Long) As Unsigned Long

Parameters

dwProjID     Required. Integer that specifies the project, by its ID. This is WPROJ_ID from the MSP_WEB_PROJECTS table, rather than PROJ_ID from the MSP_PROJECTS table.

Return Values

Returns an integer representing the newly created object ID.

See Also

AddObject Method |AddSTSObject Method | AddTaskObject Method

Applies To

IObjLinkProvider Interface

Additional Information

Object Link Provider Reference for Microsoft Office Project Server