HSDK Class Descriptions › CaTakeSnapshot › HINT32 Execute(LPCTSTR szViewName, CaTimeStamp snapshottime=NULL_CATIMESTAMP, LPCTSTR szReferenceSnapshot = NULL)
HINT32 Execute(LPCTSTR szViewName, CaTimeStamp snapshottime=NULL_CATIMESTAMP, LPCTSTR szReferenceSnapshot = NULL)
Executes the TakeSnapshot process on one of the following:
- The State selected in the CaContext.
- The State selected in the CaContext at a given time.
- The packages selected in the package chooser overlaid on a previous Snapshot view
- Owning Class
-
CaTakeSnapshot
- Arguments
-
LPCTSTR szViewName, CaTimeStamp snapshottime, LPCTSTR szReferenceSnapshot
- Return Value
-
HINT32-zero if success, non-zero if failure
Example
CaApprove& rApprove = rContext.GetApprove();
HINT32 iResult = rApprove.Execute();
More information:
- HSDK Programming Fundamentals
- CaContext
- CaPackageChooser
|
Copyright © 2013 CA.
All rights reserved.
|
|