Filter:C# VB.NET C++ (.NET) Java PHP C++ Delphi / Pascal (VCL) C++Builder (VCL)
Contains status of the last operation performed on the object
Public Property Status As Integer
void setStatus(int value);
void SetStatus(int Value);
[Delphi / Pascal (VCL)]
property Status : Integer;
Values of Status
Rethync SDK defines several useful constants for object status, but the application can define and use any status codes it needs.
|[C#] [VB.NET] [C++ (.NET)] [Java]||[C++]||[Java] [C++]||[Delphi / Pascal] [C++ (VCL)] [PHP]||Value||Meaning|
|ObjectInfo.StatusOK||StatusOK||osStatusOK||0||The object was handled correctly.|
|ObjectInfo.StatusLocked||StatusLocked||osStatusLocked||1||The object was locked on the server and could not be processed.|
|ObjectInfo.StatusNotFound||StatusNotFound||osStatusNotFound||2||The object with given ID was not found on the server in Get and Delete operations where it had to be present.|
This property contains status of the object - result of the last operation in which the object was involved. Server-side code sets object status for each object, passed by the client. Client-side code checks the status of the object after completion of the operation.
Got questions or comments about this topic? Tell us about them.