Previous Topic: GetStateName Method

Next Topic: GetProcessId Method


GetStateId Method

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

Syntax

object.GetStateId()

Owning Class

CaWContext

Arguments

None

Return Value

A long that represents the State Object Id if set, -1 if empty.

Example

Dim objContext
Set objContext = sobjHarvest.GetContext()
lngStateObjId = objContext.GetStateId()

More information: