ResourcePath Property

The Resource Path of an OData service.

Syntax

ANSI (Cross Platform)
char* GetResourcePath();
int SetResourcePath(const char* lpszResourcePath); Unicode (Windows) LPWSTR GetResourcePath();
INT SetResourcePath(LPCWSTR lpszResourcePath);
@property (nonatomic,readwrite,assign,getter=resourcePath,setter=setResourcePath:) NSString* resourcePath;
- (NSString*)resourcePath;
- (void)setResourcePath:(NSString*)newResourcePath;
#define PID_ODATA_RESOURCEPATH 84

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_OData_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_OData_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property contains the resource path of an OData service and is used in conjunction with ServiceRootURI (ServiceRootURI/ResourcePath) to query feeds and modify entries.

This property will be populated when EntryIndex is set. You can change the value if you wish to send the request to a different Resource Path.

For example, a valid ResourcePath for the OData sample service is: "Products".

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]