Partager via


Win32_OfflineFilesFileSysInfo class

Represents the common file system metadata about a file or directory in the Offline Files cache. Examples are attributes, size, and time values.

The original copy of the item represents the state of the item following the last successful sync of that item, which is the most recent time when the remote copy and local copy were identical.

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

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

Syntax

[dynamic, provider("Win32_OfflineFilesProvider"), AMENDMENT]
class Win32_OfflineFilesFileSysInfo
{
  uint32   LocalAttributes;
  sint64   LocalSize;
  DATETIME LocalCreationTime;
  DATETIME LocalLastWriteTime;
  DATETIME LocalChangeTime;
  DATETIME LocalLastAccessTime;
  uint32   OriginalAttributes;
  sint64   OriginalSize;
  DATETIME OriginalCreationTime;
  DATETIME OriginalLastWriteTime;
  DATETIME OriginalChangeTime;
  DATETIME OriginalLastAccessTime;
  uint32   RemoteAttributes;
  sint64   RemoteSize;
  DATETIME RemoteCreationTime;
  DATETIME RemoteLastWriteTime;
  DATETIME RemoteChangeTime;
  DATETIME RemoteLastAccessTime;
};

Members

The Win32_OfflineFilesFileSysInfo class has these types of members:

Properties

The Win32_OfflineFilesFileSysInfo class has these properties.

LocalAttributes

Data type: uint32

Access type: Read-only

The file attribute mask for the local copy of the item. One or more of FILE_ATTRIBUTE_XXXXXX as defined in the Windows SDK. For more information, see the GetFileAttributes function.

LocalChangeTime

Data type: DATETIME

Access type: Read-only

A DATETIME value that represents the last-change time, in UTC, of the local copy of the item. This is the time the item's data or attributes were last changed.

LocalCreationTime

Data type: DATETIME

Access type: Read-only

A DATETIME value that represents the creation time of the local copy of the item, expressed in Universal Time Coordinates (UTC).

LocalLastAccessTime

Data type: DATETIME

Access type: Read-only

A DATETIME value that represents the last-access time, in UTC, of the local copy of the item. This is the time the item was last read from or written to.

LocalLastWriteTime

Data type: DATETIME

Access type: Read-only

A DATETIME value that represents the last-write time, in UTC, of the local copy of the item. This is the time the item's data was last written to.

LocalSize

Data type: sint64

Access type: Read-only

A 64-bit signed integer value that contains the size, in bytes, of the local copy of the item.

OriginalAttributes

Data type: uint32

Access type: Read-only

The file attribute mask for the original copy of the item. One or more of FILE_ATTRIBUTE_XXXXXX as defined in the Windows SDK. For more information, see the GetFileAttributes function.

OriginalChangeTime

Data type: DATETIME

Access type: Read-only

A DATETIME value that represents the last-change time, in UTC, of the original copy of the item. This is the time the item's data or attributes were last changed.

OriginalCreationTime

Data type: DATETIME

Access type: Read-only

A DATETIME value that represents the creation time, in UTC, of the original copy of the item.

OriginalLastAccessTime

Data type: DATETIME

Access type: Read-only

A DATETIME value that represents the last-access time, in UTC, of the original copy of the item. This is the time the item was last read from or written to.

OriginalLastWriteTime

Data type: DATETIME

Access type: Read-only

A DATETIME value that represents the last-write time, in UTC, of the original copy of the item. This is the time the item's data was last written to.

OriginalSize

Data type: sint64

Access type: Read-only

A 64-bit signed integer value that contains the size, in bytes, of the original copy of the item.

RemoteAttributes

Data type: uint32

Access type: Read-only

Reserved for future use.

RemoteChangeTime

Data type: DATETIME

Access type: Read-only

Reserved for future use.

RemoteCreationTime

Data type: DATETIME

Access type: Read-only

Reserved for future use.

RemoteLastAccessTime

Data type: DATETIME

Access type: Read-only

Reserved for future use.

RemoteLastWriteTime

Data type: DATETIME

Access type: Read-only

Reserved for future use.

RemoteSize

Data type: sint64

Access type: Read-only

Reserved for future use.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMv2
MOF
OfflineFilesWmiProvider.mof
DLL
CscObj.dll

See also

Offline Files WMI Provider Reference