Previous Topic: GetProjectName Method

Next Topic: GetStateName Method


GetProjectId Method

Retrieve the Object ID of the current CA Harvest SCM Project.

Syntax

object.GetProjectId()

Owning Class

CaWContext

Arguments

None

Return Value

A long that represents the project object ID if set, -1 if empty.

Example

Dim objContext
Set objContext = sobjHarvest.GetContext()
lngProjectObjId = objContext.GetProjectId()

More information: