IOfflineFilesPinInfo::IsPinnedForFolderRedirection method

Determines whether the item was pinned by Folder Redirection.

Syntax


HRESULT IsPinnedForFolderRedirection(
  [out] BOOL *pbPinnedForFolderRedirection,
  [out] BOOL *pbInherit
);

Parameters

pbPinnedForFolderRedirection [out]

Receives TRUE if the item was pinned for users by Folder Redirection, or FALSE otherwise.

pbInherit [out]

Receives TRUE if the pinned state is inherited by new child items, or FALSE otherwise.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

When an item is pinned in the Offline Files cache, it is protected from automatic eviction and is guaranteed to be available offline.

This method corresponds to the OFFLINEFILES_PIN_CONTROL_FLAG_FORREDIR pin control flag used by the IOfflineFilesCache::Pin method.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

CscObj.h

DLL

CscSvc.dll;
CscObj.dll

See also

IOfflineFilesCache::Pin
IOfflineFilesPinInfo

 

 

Show: