Szerkesztés

Megosztás a következőn keresztül:


Set method of the MSFT_FileStorageTier class

Pins a volume or file to a storage tier.

Syntax

UInt32 Set(
  [in] String FilePath,
  [in] String DesiredStorageTierFriendlyName,
  [in] String DesiredStorageTierUniqueId,
  [in] String DesiredStorageTier
);

Parameters

FilePath [in]

The path of a file.

DesiredStorageTierFriendlyName [in]

The friendly name of the desired storage tier.

DesiredStorageTierUniqueId [in]

The unique ID of the desired storage tier.

DesiredStorageTier [in]

The desired storage tier, an MSFT_StorageTier object.

Remarks

Only one of the input parameters is required to specify the file storage tier.

The actual movement of the file to this tier will happen only when the optimizer runs (or is invoked).

Requirements

Requirement Value
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

See also

MSFT_FileStorageTier