Class: WMI::Win32_PhysicalMemoryArray

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

Overview

Win32_PhysicalMemoryArray クラスは、コンピュータ システムの物理メモリに関する詳細情報を表します。これには、メモリ デバイスの数、利用可能なメモリ機能、およびメモリの種類 (たとえば、システム メモリまたはビデオ メモリ) が含まれます。

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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)

Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。

Returns:

  • (string)

    Caption



19
20
21
# File 'lib/Win32_PhysicalMemoryArray.rb', line 19

def Caption
  @Caption
end

- (string) CreationClassName (readonly)

CreationClassName は、インスタンスの作成で使用されるクラス名、またはサブクラス名を示します。

 

Returns:

  • (string)

    CreationClassName



25
26
27
# File 'lib/Win32_PhysicalMemoryArray.rb', line 25

def CreationClassName
  @CreationClassName
end

- (real32) Depth (readonly)

物理パッケージのインチ単位のデプスです。

Returns:

  • (real32)

    Depth



30
31
32
# File 'lib/Win32_PhysicalMemoryArray.rb', line 30

def Depth
  @Depth
end

- (string) Description (readonly)

Description プロパティでオブジェクトの説明が提供されます。

Returns:

  • (string)

    Description



36
37
38
# File 'lib/Win32_PhysicalMemoryArray.rb', line 36

def Description
  @Description
end

- (real32) Height (readonly)

物理パッケージのインチ単位の高さ

Returns:

  • (real32)

    Height



41
42
43
# File 'lib/Win32_PhysicalMemoryArray.rb', line 41

def Height
  @Height
end

- (boolean) HotSwappable (readonly)

物理パッケージは、含まれるパッケージによって電源が適用される間 (’オン’ のとき) に、物理的に違うが同等の要素に置き換えることができる場合にはホット スワップが可能です。

 

Returns:

  • (boolean)

    HotSwappable



48
49
50
# File 'lib/Win32_PhysicalMemoryArray.rb', line 48

def HotSwappable
  @HotSwappable
end

- (datetime) InstallDate (readonly)

InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。

 

Returns:

  • (datetime)

    InstallDate



54
55
56
# File 'lib/Win32_PhysicalMemoryArray.rb', line 54

def InstallDate
  @InstallDate
end

- (uint16) Location (readonly)

Location プロパティは、メモリ配列の物理的な場所を示します。

Returns:

  • (uint16)

    Location



59
60
61
# File 'lib/Win32_PhysicalMemoryArray.rb', line 59

def Location
  @Location
end

- (string) Manufacturer (readonly)

物理要素の生産に責任がある組織の名前です。

 

Returns:

  • (string)

    Manufacturer



66
67
68
# File 'lib/Win32_PhysicalMemoryArray.rb', line 66

def Manufacturer
  @Manufacturer
end

- (uint32) MaxCapacity (readonly)

MaxCapacity プロパティは、この特定のメモリ配列でインストールできるメモリの最大サイズ (バイト) を示します。

 

Returns:

  • (uint32)

    MaxCapacity



72
73
74
# File 'lib/Win32_PhysicalMemoryArray.rb', line 72

def MaxCapacity
  @MaxCapacity
end

- (uint16) MemoryDevices (readonly)

MemoryDevices プロパティは、このメモリ配列で利用できる物理スロットまたは物理ソケットの数を示します。

Returns:

  • (uint16)

    MemoryDevices



77
78
79
# File 'lib/Win32_PhysicalMemoryArray.rb', line 77

def MemoryDevices
  @MemoryDevices
end

- (uint16) MemoryErrorCorrection (readonly)

MemoryErrorCorrection プロパティは、メモリ配列によって使用されるエラー修正の種類を示します。

Returns:

  • (uint16)

    MemoryErrorCorrection



82
83
84
# File 'lib/Win32_PhysicalMemoryArray.rb', line 82

def MemoryErrorCorrection
  @MemoryErrorCorrection
end

- (string) Model (readonly)

物理要素の一般的な認識名です。

Returns:

  • (string)

    Model



87
88
89
# File 'lib/Win32_PhysicalMemoryArray.rb', line 87

def Model
  @Model
end

- (string) Name (readonly)

Name プロパティで、オブジェクトを認識するラベルを定義します。

 

Returns:

  • (string)

    Name



93
94
95
# File 'lib/Win32_PhysicalMemoryArray.rb', line 93

def Name
  @Name
end

- (string) OtherIdentifyingInfo (readonly)

OtherIdentifyingInfo により、物理要素の識別に使用される追加データが資産タグ情報から得られます。

 

Returns:

  • (string)

    OtherIdentifyingInfo



100
101
102
# File 'lib/Win32_PhysicalMemoryArray.rb', line 100

def OtherIdentifyingInfo
  @OtherIdentifyingInfo
end

- (string) PartNumber (readonly)

物理的要素の生産または製造に責任がある組織によって割り当てられた部品番号です。

Returns:

  • (string)

    PartNumber



105
106
107
# File 'lib/Win32_PhysicalMemoryArray.rb', line 105

def PartNumber
  @PartNumber
end

- (boolean) PoweredOn (readonly)

物理要素の電力がオン (TRUE) になるか、オフ (FALSE) になるかを示すブール値です。

Returns:

  • (boolean)

    PoweredOn



110
111
112
# File 'lib/Win32_PhysicalMemoryArray.rb', line 110

def PoweredOn
  @PoweredOn
end

- (boolean) Removable (readonly)

物理パッケージは、通常物理パッケージがある物理コンテナから、パッケージ全体の機能を損なわないで出し入れできるように設計されていれば取り外すことができます。

 

Returns:

  • (boolean)

    Removable



121
122
123
# File 'lib/Win32_PhysicalMemoryArray.rb', line 121

def Removable
  @Removable
end

- (boolean) Replaceable (readonly)

物理パッケージは、物理的に違う要素に置き換えることができる場合 (FRU または更新)、置き換え可能です。

 

Returns:

  • (boolean)

    Replaceable



130
131
132
# File 'lib/Win32_PhysicalMemoryArray.rb', line 130

def Replaceable
  @Replaceable
end

- (string) SerialNumber (readonly)

物理要素の認識に使用される製造元に割り当てられた番号です。

Returns:

  • (string)

    SerialNumber



135
136
137
# File 'lib/Win32_PhysicalMemoryArray.rb', line 135

def SerialNumber
  @SerialNumber
end

- (string) SKU (readonly)

この物理要素の SKU 数です。

Returns:

  • (string)

    SKU



140
141
142
# File 'lib/Win32_PhysicalMemoryArray.rb', line 140

def SKU
  @SKU
end

- (string) Status (readonly)

Status プロパティはオブジェクトの現在の状態を示す文字列です。

 

Returns:

  • (string)

    Status



153
154
155
# File 'lib/Win32_PhysicalMemoryArray.rb', line 153

def Status
  @Status
end

- (string) Tag (readonly)

Tag プロパティには、物理メモリ配列を一意に認識する文字列が含まれています。

 

Returns:

  • (string)

    Tag



160
161
162
# File 'lib/Win32_PhysicalMemoryArray.rb', line 160

def Tag
  @Tag
end

- (uint16) Use (readonly)

Use プロパティは、メモリがコンピュータ システムで使用される方法を示します。

Returns:

  • (uint16)

    Use



165
166
167
# File 'lib/Win32_PhysicalMemoryArray.rb', line 165

def Use
  @Use
end

- (string) Version (readonly)

物理要素のバージョンを示す文字列です。

Returns:

  • (string)

    Version



170
171
172
# File 'lib/Win32_PhysicalMemoryArray.rb', line 170

def Version
  @Version
end

- (real32) Weight (readonly)

物理的パッケージの重さ (ポンド) です。

Returns:

  • (real32)

    Weight



175
176
177
# File 'lib/Win32_PhysicalMemoryArray.rb', line 175

def Weight
  @Weight
end

- (real32) Width (readonly)

物理的パッケージの幅 (インチ) です。

Returns:

  • (real32)

    Width



180
181
182
# File 'lib/Win32_PhysicalMemoryArray.rb', line 180

def Width
  @Width
end

Instance Method Details

- (uint32) IsCompatible(ElementToCheck)

IsCompatible メソッドにより、参照された物理要素が物理パッケージに含まれているか、または物理パッケージに挿入されている可能性があるかどうかが確認されます。 要求が正常に返された場合は、整数値 0 を返します。 要求がサポートされていない場合は 1 を、ほかのすべての値はエラーを示します。 サブクラスでは、可能な返信コードのセットはメソッド上の ValueMap 修飾子を使って指定することも可能です。 ValueMap に含まれる文字列は ’変換済み’ です。 値の配置修飾子としてサブクラスで指定される場合もあります。

Parameters:

Returns:

  • (uint32)


13
14
# File 'lib/Win32_PhysicalMemoryArray.rb', line 13

def IsCompatible ElementToCheck
end