Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IOfflineFilesSetting interface

Represents a setting that controls the behavior the Offline Files service.

When to implement

This interface is implemented by Windows.

When to use

Use this interface to manage individual Offline Files settings.

An instance is created via IOfflineFilesCache::GetSettingObject. Through the returned instance you then query and set the values associated with the setting. A particular value may be composed of a single value or may be composed of multiple values as in the case of a policy that lists a set of directory paths. All values have the standard COM VARIANT data type.

Note that this interface is used to represent settings controlled by the following:

  • Per-computer and per-user preferences
  • Per-computer and per-user system policy
  • A combination of preference and policy

Members

The IOfflineFilesSetting interface inherits from the IUnknown interface. IOfflineFilesSetting also has these types of members:

Methods

The IOfflineFilesSetting interface has these methods.

MethodDescription
DeletePreference

Removes a preference setting.

GetName

Retrieves a name associated with a particular Offline Files setting.

GetPolicy

Retrieves a policy associated with a particular Offline Files setting.

GetPolicyScope

Indicates the scope of the policy associated with this setting.

GetPreference

Retrieves a per-machine or per-user preference associated with a particular Offline Files setting.

GetPreferenceScope

Retrieves the scope of the preference associated with this setting.

GetValue

Retrieves the value of a particular Offline Files setting.

GetValueType

Retrieves the data type of a particular Offline Files setting.

SetPreference

Sets a per-computer or per-user preference associated with an Offline Files setting.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Cscobj.h

DLL

Cscsvc.dll;
Cscobj.dll

See also

Offline Files API Interfaces

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.