CleanupExtendedProjectViewTables Method
Description
Cleans up extended project view tables for a specified project using the Microsoft Office Project Server 2003 security object.
Syntax
Sub CleanupExtendedProjectViewTables( _
ByVal lWProjID As Long)
Parameters
Parameter | Description |
---|---|
lWProjID |
Required Long. The project ID as in MSP_WEB_PROJECTS.WPROJ_ID. |
Return Value
The CleanupExtendedProjectViewTables method returns no value (Void).
Remarks
DeleteProject also calls CleanupExtendedProjectViewTables, which provides the flexibility for other functions to programmatically clean their extended project view tables.
Example
The following example is for Microsoft Visual Basic 6.0.
Set oSec = CreateObject("PjSvrSecurity.PjSvrSecurity")
oSec.SetDBConnection "ProjectServer"
oSec.CleanupExtendedProjectViewTables 21
Set oSec = Nothing