Previous Topic: IsValid Method

Next Topic: CaWUDP


Execute Method

Executes the TakeSnapshot process on one of the following:

Syntax

object.Execute(strViewName, objTimeStamp, strRefSnapshot)

Owning Class

CaWTakeSnapshot

Arguments

strViewName - A string represents the view name

objTimeStamp - A CaWTimeStamp object or a null object

strRefSnapshot - A string represents the referenced snapshot or a null string

Return Value

A long - Zero if success. Nonzero if failure.

Example

Dim objTakeSnapshot
Set objTakeSnapshot = objContext.GetTakeSnapshot()
lngRet = objTakeSnapshot.Execute(strViewName, Nothing, “”)

More information: