Salesforce

COMObjRelease (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

COMObjRelease (Magic xpa 4.x)

Releases a COM object loaded by the COMObjCreate function or invoked by the Invoke COM operation.

Syntax:

COMObjRelease(variable)

Parameters:

variable – The value representing a variable index within the Variable list.

Returns:

0 when the function is successful. A negative number is returned when the function fails.

The negative numbers that the function can return are:

-1 – The attribute is not an OLE variable.

-2 – The Instantiation property of the defined variable is set as Automatic and not as None.

-3 – The object is not loaded by the defined variable.

Note:

  • The function receives a variable reference ('A'VAR)

  • The function should be used in an Update operation and cannot be used in an Evaluate operation.

See also:

COMObjCreate

Reference
Attachment 
Attachment