CHSDK Class Descriptions › CaWUDP › UseVersionList Property
UseVersionList Property
Gets or sets a boolean value for whether to pass the UDP process a Version List which would be expanded by the [VERSION] system variable.
- Syntax
-
object.UseVersionList = [value]
- Owning Class
-
CaWUDP
- Arguments
-
value - A boolean that indicates using versions in version chooser or not.
- Notes
-
- To pass a list of versions 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 [VERSION]. The hserver will replace this variable name with the names and version number of the versions sent by the client.
- Second, this boolean must be set before Execute() is called.
- Finally, the version chooser must be used to select the versions of items and executed. The contents of the version chooser must match the contents of the desired version list.
Example
Dim objUDP
Dim objVersionChooser
Set objUDP = objContext.GetUDP()
Set objVersionChooser = objContext.GetVersionChooser()
objVersionChooser.Clear()
objVersionChooser.SetItemName(“*.cpp”)
objVersionChooser.Execute()
objUDP.UseVersionList = True
objUDP.Execute()
More information:
- CHSDK Programming Fundamentals
- CaWVersionChooser
|
Copyright © 2013 CA.
All rights reserved.
|
|