IOfflineFilesCache::GetSettingObject method (cscobj.h)
Creates an object that represents a particular Offline Files setting.
Syntax
HRESULT GetSettingObject(
[in] LPCWSTR pszSettingName,
[out] IOfflineFilesSetting **ppSetting
);
Parameters
[in] pszSettingName
Case-insensitive name of the setting. One of the following values:
[out] ppSetting
If the setting exists, a pointer to the object's IOfflineFilesSetting interface is returned.
Return value
Returns S_OK if successful, or an error value otherwise.
Returns HRESULT_FROM_WIN32(ERROR_INVALID_NAME)
if the setting name is invalid.
Remarks
This method is available to both administrators and non-administrators. Security restrictions are enforced on a setting-by-setting basis. For example, only administrators can alter a setting that applies to all users on the computer.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | cscobj.h |
DLL | CscSvc.dll; CscObj.dll |