Using the Process Analyst > Process Analyst for Developers > Automation Model > ITrendCursor.Delete [Method]

ITrendCursor.Delete [Method]

Deletes the cursor.

Defined As

Execution Result

If the function succeeds, the return value will be Success. If the cursor is deleted, the return value will be GeneralFailure.

Remarks

This method will remove the cursor from the Process Analyst. Any current references to the cursor will continue to be valid; however, operations on them will result in errors.

Calling Syntax

This example assumes you have a valid reference to a cursor.

[VBA]

Sub Example(cursor As Object)
cursor.Delete
End Sub

[Cicode]

FUNCTION Example(OBJECT hCursor)
_ObjectCallMethod(hCursor, "Delete");
END