Filter:C# VB.NET C++ (.NET) Java PHP C++ Delphi / Pascal (VCL) C++Builder (VCL)
Retrieves specified objects from the server
[Delphi / Pascal (VCL)]
function GetRemoteObjects( Data : array of TObjectInfo; Index : integer; Count : integer ) : integer;
- Data - Array of ObjectInfo which contain IDs of objects that must be retrieved from the server
- Index - Starting index of ObjectInfo in Data, for which retrieval is performed
- Count - The number of ojects to retrieve (0 - retrieve all objects)
0 if the method succeeded or one of defined error codes in case of failure.
This method retrieves objects, referenced in Data, 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 retrieval operation (retrieved OK or the object was not found or it was locked). ObjectHash and ObjectData properties of each ObjectInfo are filled as well.
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.