ListResourcesScope Property
Controls the scope of the results when listing resources.
Syntax
ANSI (Cross Platform) int GetListResourcesScope();
int SetListResourcesScope(int iListResourcesScope); Unicode (Windows) INT GetListResourcesScope();
INT SetListResourcesScope(INT iListResourcesScope);
Possible Values
LRS_USER(0),
LRS_DOMAIN(1),
LRS_SHARED_DRIVE(2),
LRS_ALL_DRIVES(3)
@property (nonatomic,readwrite,assign,getter=listResourcesScope,setter=setListResourcesScope:) int listResourcesScope; - (int)listResourcesScope; - (void)setListResourcesScope:(int)newListResourcesScope;
Possible Values
LRS_USER(0),
LRS_DOMAIN(1),
LRS_SHARED_DRIVE(2),
LRS_ALL_DRIVES(3)
#define PID_GOOGLEDRIVE_LISTRESOURCESSCOPE 48 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_GoogleDrive_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_GoogleDrive_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This property controls the scope of the results when listing resources with ListResources or ListChildren. Valid values are:
lrsUser (0) (default) | Items in the user's "My Drive" and "Shared with me" collections. |
lrsDomain (1) | Items shared to the user's domain. |
lrsSharedDrive (2) | Items within the shared drive specified by the SharedDrive property. |
lrsAllDrives (3) | Items in the user's "My Drive" and "Shared with me" collections, as well as all items in all shared drives that the user is a member of. |
Refer to ListResources for more information.
This property is not available at design time.
Data Type
Integer