IOfflineFilesCache::ProcessAdminPinPolicy method (cscobj.h)

Causes Offline Files to process the "administratively assigned offline files" group policy.

Syntax

HRESULT ProcessAdminPinPolicy(
  [in] IOfflineFilesSyncProgress *pPinProgress,
  [in] IOfflineFilesSyncProgress *pUnpinProgress
);

Parameters

[in] pPinProgress

Pointer to the IOfflineFilesSyncProgress interface that receives progress notifications as items are being pinned in the Offline Files cache.

[in] pUnpinProgress

Pointer to the IOfflineFilesSyncProgress interface that receives progress notifications as items are being unpinned from the Offline Files cache.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

The "administratively assigned offline files" group policy provides a way for administrators to cause specific folders to be pinned by Offline Files for specific users by way of the Group Policy mechanism. The primary client of this function is the Offline Files Group Policy extension. In most deployments there is no need to call this function. The Group Policy extension will do that for you.

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

See also

IOfflineFilesCache