Previous Topic: bool IsPackageSet()

Next Topic: void SetPackageName(LPCTSTR szPackageName)


CaCreatePackage

CaCreatePackage encapsulates the CreateChangePackage process. It cannot be instantiated directly. The CreatePackage process can be set in the CaContext object either by name or object ID. The CaCreatePackage object can only be retrieved from the CaContext after it has been set. The administrator sets default attribute values.

A Create Package process has a default name expression to generate the package name if none is supplied. The GetDefaultName() function returns the expression. If no expression then the default is “Package- number” where number is a sequential integer value.

The GetPackageName() function returns the caller specified name prior to an Execute call and the resulting package name after an Execute call. The name must be reset if additional Execute calls are to be made.

Usage
Public Methods

More information: