Filter:C# VB.NET C++ (.NET) Java PHP C++ Delphi / Pascal (VCL) C++Builder (VCL)
Deletes objects on the server
[Delphi / Pascal (VCL)]
function DeleteRemoteObjects( IDList : array of TObjectInfo; Index : integer; Count : integer ) : integer;
- IDList - Array of ObjectInfo which contain IDs of objects that must be deleted from the server
- Index - Starting index of ObjectInfo in IDList, for which deletion is performed
- Count - The number of ojects to delete (0 - delete all objects)
0 if the method succeeded or one of defined error codes in case of failure.
This method deletes objects, referenced in IDList, from the server.
When the method is called, only IDs of objects need to be set in ObjectInfo. After the method is executed and if the server reported success, Status property of each ObjectInfo in the list will contain result of deletion operation (deleted OK or the object was not found or it was locked).
Index and Count are used to perform the operation only on subset of objects (for better fault-tolerance and resumption of process).
Got questions or comments about this topic? Tell us about them.