Class: WMI::Win32_PageFileSetting

Inherits:
Base
  • Object
show all
Defined in:
lib/Win32_PageFileSetting.rb

Overview

Win32_PageFileSetting クラスは、ページ ファイルの設定を表します。このクラスからインスタンス化されたオブジェクトに含まれる情報により、ファイルがシステム スタートアップで作成されるときに使用されるページ ファイル パラメータが指定されます。このクラスのプロパティは、スタートアップまで変更と遅延を行うことができます。これらの設定は、関連クラス Win32_PageFileUsage で表記されるページ ファイルの実行時の状態とは違います。

注意: Windows XP には SE_CREATE_PAGEFILE_NAME 特権が必要です

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from Base

#AddRef, #AssociatorsAsync_, #Associators_, #Clone_, #CompareTo_, #DeleteAsync_, #Delete_, #Derivation_, #ExecMethodAsync_, #ExecMethod_, #GetIDsOfNames, #GetObjectText_, #GetText_, #GetTypeInfo, #GetTypeInfoCount, #InstancesAsync_, #Instances_, #Invoke, #Methods_, #Path_, #Properties_, #PutAsync_, #Put_, #Qualifiers_, #QueryInterface, #ReferencesAsync_, #References_, #Refresh_, #Release, #Security_, #SetFromText_, #SpawnDerivedClass_, #SpawnInstance_, #SubclassesAsync_, #Subclasses_, #SystemProperties_

Instance Attribute Details

- (string) Caption (readonly)

CIM_Setting オブジェクトの簡単な説明 (1 行分の文字列) です。

Returns:

  • (string)

    Caption



9
10
11
# File 'lib/Win32_PageFileSetting.rb', line 9

def Caption
  @Caption
end

- (string) Description (readonly)

CIM_Setting オブジェクトの説明です。

Returns:

  • (string)

    Description



14
15
16
# File 'lib/Win32_PageFileSetting.rb', line 14

def Description
  @Description
end

- (uint32) InitialSize

InitialSize プロパティは、ページ ファイルの初期サイズを示します。

 

Returns:

  • (uint32)

    InitialSize



21
22
23
# File 'lib/Win32_PageFileSetting.rb', line 21

def InitialSize
  @InitialSize
end

- (uint32) MaximumSize

MaximumSize プロパティは、ページ ファイルの最大サイズを示します。

 

Returns:

  • (uint32)

    MaximumSize



28
29
30
# File 'lib/Win32_PageFileSetting.rb', line 28

def MaximumSize
  @MaximumSize
end

- (string) Name

Name プロパティは、ページ ファイルのパスとファイル名を示します。

 

Returns:

  • (string)

    Name



35
36
37
# File 'lib/Win32_PageFileSetting.rb', line 35

def Name
  @Name
end

- (string) SettingID (readonly)

CIM_Setting オブジェクトを認識する識別子です。

Returns:

  • (string)

    SettingID



40
41
42
# File 'lib/Win32_PageFileSetting.rb', line 40

def SettingID
  @SettingID
end