Previous Topic: void SetPriority(HINT32 iPriority)

Next Topic: LPCTSTR GetPackageName(void)


LPCTSTR GetDefaultName (void)

Retrieves the default name expression for the new package.

Note: The CA Harvest SCM administrator sets the default name expression as an attribute of the Create Package process. The default name expression generates the package name if none is supplied with the SetPackageName() function. If there is no default expression then the default is “Package- number” where number is a sequential integer value.

Owning Class

CaCreatePackage

Arguments

None

Return Value

LPCTSTR-the name expression

Example

CaCreatePackage& rCreatePackage = rContext.GetCreatePackage();CaString szName = rCreatePackage. GetDefaultName();