Filter:C# VB.NET C++ (.NET) Java PHP C++ Delphi / Pascal (VCL) C++Builder (VCL)
Retrieves information about objects on the server
[Delphi / Pascal (VCL)]
function GetRemoteObjectInfo( RestartFrom : integer; RetrieveCount : integer; out Info : array of TObjectInfo ) : integer;
- RestartFrom - Starting index of ObjectInfo, for which retrieval is performed
- RetrieveCount - The number of objects about which information is retrieved (0 - retrieve information about all objects)
- Info - On return contains array of ObjectInfo retrieved from the server
0 if the method succeeded or one of defined error codes in case of failure.
This method retrieves information about objects, available on the server.
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 locked). ObjectID and ObjectHash properties of each ObjectInfo are filled. ObjectData is not filled (use GetRemoteObject to retrieve object data).
RestartFrom and RetrieveCount are used to perform the operation only on subset of objects (for better fault-tolerance and resumption of process).
Object class must be locked before any information that belongs to the class is synchronized, otherwise the server returns CLASS_NOT_LOCKED error.
Got questions or comments about this topic? Tell us about them.