Win32_OfflineFilesPinInfo class

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

An instance of this class is obtained through the PinInfo property of the Win32_OfflineFilesItem object.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

class Win32_OfflineFilesPinInfo
{
  boolean Pinned;
  uint32  PinnedForUser;
  uint32  PinnedForUserByPolicy;
  uint32  PinnedForComputer;
  uint32  PinnedForFolderRedirection;
};

Members

The Win32_OfflineFilesPinInfo class has these types of members:

Properties

The Win32_OfflineFilesPinInfo class has these properties.

Pinned
Data type: boolean
Access type: Read-only

TRUE if the item is pinned for any reason, or FALSE otherwise.

PinnedForComputer
Data type: uint32
Access type: Read-only
Qualifiers: Values (Not pinned, Pinned, Pinned inherit) , ValueMap (0, 1, 2)

Indicates whether the file is pinned for all users on the computer by Group Policy and, if it is pinned, whether its pinned state is inherited by new child items.

PinnedForFolderRedirection
Data type: uint32
Access type: Read-only
Qualifiers: Values (Not pinned, Pinned, Pinned inherit) , ValueMap (0, 1, 2)

Indicates whether the file is pinned for users on the computer by Folder Redirection and, if it is pinned, whether its pinned state is inherited by new child items.

PinnedForUser
Data type: uint32
Access type: Read-only
Qualifiers: Values (Not pinned, Pinned, Pinned inherit) , ValueMap (0, 1, 2)

Indicates whether the file is pinned by a user and, if it is pinned, whether its pinned state is inherited by new child items.

PinnedForUserByPolicy
Data type: uint32
Access type: Read-only
Qualifiers: Values (Not pinned, Pinned, Pinned inherit) , ValueMap (0, 1, 2)

Indicates whether the file is pinned for users by Group Policy and, if it is pinned, whether its pinned state is inherited by new child items.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Namespace

\root\cimv2

MOF

OfflineFilesWmiProvider.mof

DLL

Cscobj.dll

See also

Offline Files WMI Provider Reference

 

 

Show:
© 2014 Microsoft