Class: WMI::CIM_InstalledOS

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

Overview

コンピュータ システムとインストールされているオペレーティング システムとのリンクです。オペレーティング システムは、コンピュータ システムの拡張記憶域の 1 つに置かれるとき (たとえば、ディスク ドライブにコピーされたり、メモリにダウンロードされる) にコンピュータ システムに ’インストール’ されます。 この定義を使用すると、オペレーティング システムはネットワーク経由でダウンロードされるとき ’インストールされ’ ます。

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

- (ref:CIM_ComputerSystem) GroupComponent (readonly)

コンピュータ システムです。

Returns:

  • (ref:CIM_ComputerSystem)

    GroupComponent



7
8
9
# File 'lib/CIM_InstalledOS.rb', line 7

def GroupComponent
  @GroupComponent
end

- (ref:CIM_OperatingSystem) PartComponent (readonly)

コンピュータ システムにインストールされたオペレーティング システムです。

Returns:

  • (ref:CIM_OperatingSystem)

    PartComponent



12
13
14
# File 'lib/CIM_InstalledOS.rb', line 12

def PartComponent
  @PartComponent
end

- (boolean) PrimaryOS (readonly)

オペレーティング システムがコンピュータ システムの既定 OS であることを示すブール値です。

Returns:

  • (boolean)

    PrimaryOS



17
18
19
# File 'lib/CIM_InstalledOS.rb', line 17

def PrimaryOS
  @PrimaryOS
end