Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MSFT_FileStorageTier class

This class provides methods to manually pin a file onto a storage tier and to unpin it.

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

Syntax

class MSFT_FileStorageTier
{
  String FilePath;
  UInt16 State;
  UInt16 PlacementStatus;
  String DesiredStorageTierName;
  UInt64 FileSizeOnDesiredStorageTier;
  UInt64 FileSize;
};

Members

The MSFT_FileStorageTier class has these types of members:

Methods

The MSFT_FileStorageTier class has these methods.

MethodDescription
Clear

Unpins a file from a storage tier.

Get

Gets tier information for pinned files.

Set

Pins a file to a storage tier.

 

Properties

The MSFT_FileStorageTier class has these properties.

DesiredStorageTierName
Data type: String
Access type: Read-only

The desired name of the storage tier.

FilePath
Data type: String
Access type: Read-only
Qualifiers: Key

The path of the file.

FileSize
Data type: UInt64
Access type: Read-only

The file size.

FileSizeOnDesiredStorageTier
Data type: UInt64
Access type: Read-only

The file size on the desired storage tier.

PlacementStatus
Data type: UInt16
Access type: Read-only

The placement status of the file.

ValueMeaning
0

Unknown

1

Completely on tier

2

Partially on tier

3

Not on tier

 

State
Data type: UInt16
Access type: Read-only

The state of the attempt to pin the file.

ValueMeaning
0

Unknown

1

OK

2

Insufficient Capacity

3

In Process

4

Pending

 

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Namespace

Root\Microsoft\Windows\Storage

MOF

Storagewmi.mof

 

 

Show: