Script functions reference > Script functions in alphabetical order > C > COMGetProperty

COMGetProperty
Syntax
COMGetProperty(strObjHandl, strPropertyName, VarList);
strObjHandl
strPropertyName
VarList
Description
Retrieves the value of the specified property for the COM object associated with the specified handle. The COMGetProperty function can take several variables as arguments. All the variables must be defined in StreamServe scripts. Explicit values, or return values from other functions can not be passed directly to the COMGetProperty function.
Returns
A number indicating whether the property was successfully retrieved.
0
num<0
Example
$iRetVal=COMGetProperty("objTest", "Long", $LongVal);
OpenText StreamServe 5.6 Updated: 2013-03-01