Export (0) Print
Expand All
Expand Minimize

Win32_PageFileSetting class

The Win32_PageFileSettingWMI class represents the settings of a page file. Information contained within objects instantiated from this class specify the page file parameters used when the file is created at system startup. The properties in this class can be modified and deferred until startup. These settings are different from the run-time state of a page file expressed through the associated class Win32_PageFileUsage.

To create an instance of this class, enable the SeCreatePagefilePrivilege privilege. For more information, see Privilege Constants and Executing Privileged Operations.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

[Provider("CIMWin32")]class Win32_PageFileSetting : CIM_Setting
{
  string Caption;
  string Description;
  uint32 InitialSize;
  uint32 MaximumSize;
  string Name;
  string SettingID;
};

Members

The Win32_PageFileSetting class has these types of members:

Properties

The Win32_PageFileSetting class has these properties.

Caption
Data type: string
Access type: Read-only

Short description of the CIM_Setting object.

Description
Data type: string
Access type: Read-only

Description of the CIM_Setting object.

InitialSize
Data type: uint32
Access type: Read/write
Qualifiers: Units (Megabytes)

Initial size of the page file.

Example: 139

MaximumSize
Data type: uint32
Access type: Read/write
Qualifiers: Units (Megabytes)

Maximum size of the page file.

Example: 178

Name
Data type: string
Access type: Read/write
Qualifiers: Key

Path and file name of the page file.

Example: "C:\PAGEFILE.SYS"

SettingID
Data type: string
Access type: Read-only

Identifier by which the CIM_Setting object is known.

Remarks

The Win32_PageFileSetting class is derived from CIM_Setting.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

CIMWin32.mof

DLL

CIMWin32.dll

See also

Operating System Classes

 

 

Show:
© 2014 Microsoft