Server Object Status
Function Introduced:
The function
ProServerObjectIsModified() verifies the current status of the object in the workspace as well as in the local workspace cache. The status of the object is as follows:
• checkout_status—Specifies whether the object is checked out for modification. The value PRO_B_TRUE indicates that the specified object is checked out to the active workspace.
The value PRO_B_FALSE indicates one of the following statuses:
◦ The specified object is not checked out
◦ The specified object is only uploaded to the workspace, but was never checked in
◦ The specified object is only saved to the local workspace cache, but was never uploaded
• modifiedInWS—Specifies whether the object has been modified in the workspace since checkout. The value of this argument is PRO_B_FALSE if the newly created object has not been uploaded.
• modifiedLocally—Specifies whether the object has been modified in the local workspace cache. The value of this argument is PRO_B_TRUE if the object has been saved in the local workspace cache. The argument returns PRO_B_FALSE if the object has not been saved after modifying it in the local workspace cache.