ResourceSyncState Property
The sync state of the folder resource.
Syntax
ANSI (Cross Platform) int GetResourceSyncState(int iResourceIndex);
int SetResourceSyncState(int iResourceIndex, int iResourceSyncState); Unicode (Windows) INT GetResourceSyncState(INT iResourceIndex);
INT SetResourceSyncState(INT iResourceIndex, INT iResourceSyncState);
Possible Values
SS_UNDEFINED(0),
SS_SYNCED(1),
SS_NOT_SYNCED(2),
SS_PARTIALLY_SYNCED(3)
- (int)resourceSyncState:(int)resourceIndex; - (void)setResourceSyncState:(int)resourceIndex:(int)newResourceSyncState;
Possible Values
SS_UNDEFINED(0),
SS_SYNCED(1),
SS_NOT_SYNCED(2),
SS_PARTIALLY_SYNCED(3)
#define PID_BOX_RESOURCESYNCSTATE 69 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_Box_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_Box_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_Box_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
The sync state of the folder resource.
This property specifies the sync state of the folder resource. Not applicable for file resources. Possible values are:
0 (ssUndefined - default) | The sync state is undefined. This is the only valid value for file resources, and is also used if a folder resource's sync state is unknown. |
1 (ssSynced) | The folder resource is fully synced. |
2 (ssNotSynced) | The folder resource is not synced. |
3 (ssPartiallySynced) | Only parts of the folder resource's contents are synced. |
The ResourceIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ResourceCount property.
This property is not available at design time.
Data Type
Integer