CHSDK Class Descriptions › CaWUDP › UsePackageList Property
UsePackageList Property
Gets or sets a boolean value for whether to pass the UDP process a Package List which would be expanded by the [PACKAGE] system variable.
- Syntax
-
object.UsePackageList = [value]
- Owning Class
-
CaWUDP
- Arguments
-
value - A boolean that indicates using packages in package chooser or not.
- Notes
-
- To pass a list of packages to a UDP process, this boolean is only part of the process.
- First, 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.
- Second, this boolean must be set before Execute() is called.
- Finally, the package chooser must be used to select the packages and executed. The contents of the package chooser must match the contents of the desired package list.
Example
Dim objUDP
Dim objPackageChooser
Set objUDP = objContext.GetUDP()
Set objPackageChooser = objContext.GetPackageChooser()
objPackageChooser.Clear()
objPackageChooser.SetPackageName(objContext.GetPackageName())
objPackageChooser.Execute()
objUDP.UsePackageList = True
objUDP.Execute()
More information:
- CHSDK Programming Fundamentals
- CaWPackageChooser
|
Copyright © 2013 CA.
All rights reserved.
|
|