Previous Topic: GetCheckin Method

Next Topic: GetDemote Method


GetPromote Method

Retrieve the current CA Harvest SCM Promote object.

Syntax

object.GetPromote()

Owning Class

CaWContext

Arguments

None

Return Value

A CaWPromote object that represents the current Promote object if set, null if not set or error.

Example

Dim objPromote
Set objPromote = objContext.GetPromote()
If objPromote Is Nothing Then
msgbox “Can't get promote object.”, vbOKonly + vbExclamation, “GetPromote”
End If

More information: