HSDK Class Descriptions › CaUDP › bool GetUsePackageList(void)
bool GetUsePackageList(void)
Returns the current boolean setting for whether on not the packages in the PackageChooser will be sent to the UDP process during Execute().
Note: To pass a list of packages to a UDP process, this boolean is only part of the process. The following must happen:
- The actual UDP command must make use as an argument the system variable [PACKAGE]. The hserver will replace this variable name with the names of the packages sent by the client.
- This boolean must be set before Execute() is called.
- The package chooser must be used to select the packages and executed. The contents of the package chooser must match the contents of the desire package list.
- Owning Class
-
CaUDP
- Arguments
-
None
- Return Value
-
bool-the current setting for using the package list
Example
CaUDP& rUDP = rContext.GetUDP();
bool usepackage = rUDP.GetUsePackageList();
More information:
- HSDK Programming Fundamentals
- SetUsePackageList
- CaPackageChooser
|
Copyright © 2013 CA.
All rights reserved.
|
|