Class: WMI::Win32_SoftwareElement

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

Overview

SoftwareFeatures と SoftwareElements: ‘SoftwareFeature’ とは、製品とは異なるサブセットのことで、1 つ以上の ‘SoftwareElements’ から構成されています。SoftwareElement はそれぞれ、Win32_SoftwareElement インスタンスで定義されていて、機能とその SoftwareFeature の間の関連付けは Win32_SoftwareFeatureSoftwareElement Assiciation で定義されています。コンポーネントはすべて 2 つ以上の SoftwareFeatures 間で ’共有’ できます。2 つ以上の機能が同じコンポーネントを参照し、それらの機能が選択される場合、その参照されたコンポーネントがインストールされることになります。

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

- (uint16) Attributes (readonly)

ソフトウェア要素のリモート実行オプションを含んでいるビット マップです。

Returns:

  • (uint16)

    Attributes



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

def Attributes
  @Attributes
end

- (string) BuildNumber (readonly)

このソフトウェア要素のコンパイルの内部識別子です。

Returns:

  • (string)

    BuildNumber



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

def BuildNumber
  @BuildNumber
end

- (string) Caption (readonly)

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

Returns:

  • (string)

    Caption



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

def Caption
  @Caption
end

- (string) CodeSet (readonly)

このソフトウェア要素で使用されるコード セットです。

Returns:

  • (string)

    CodeSet



23
24
25
# File 'lib/Win32_SoftwareElement.rb', line 23

def CodeSet
  @CodeSet
end

- (string) Description (readonly)

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

Returns:

  • (string)

    Description



29
30
31
# File 'lib/Win32_SoftwareElement.rb', line 29

def Description
  @Description
end

- (string) IdentificationCode (readonly)

このプロパティの値はこのソフトウェア要素の製造元の識別子です。

 

Returns:

  • (string)

    IdentificationCode



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

def IdentificationCode
  @IdentificationCode
end

- (datetime) InstallDate (readonly)

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

 

Returns:

  • (datetime)

    InstallDate



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

def InstallDate
  @InstallDate
end

- (sint16) InstallState (readonly)

ソフトウェアの要素の現在のインストールされた状態です。

Returns:

  • (sint16)

    InstallState



46
47
48
# File 'lib/Win32_SoftwareElement.rb', line 46

def InstallState
  @InstallState
end

- (string) LanguageEdition (readonly)

このプロパティの値は、このソフトウェア要素の言語を示します。

 ISO 639 

Returns:

  • (string)

    LanguageEdition



53
54
55
# File 'lib/Win32_SoftwareElement.rb', line 53

def LanguageEdition
  @LanguageEdition
end

- (string) Manufacturer (readonly)

このソフトウェア要素の製造元です。

Returns:

  • (string)

    Manufacturer



58
59
60
# File 'lib/Win32_SoftwareElement.rb', line 58

def Manufacturer
  @Manufacturer
end

- (string) Name (readonly)

このソフトウェア要素を識別するのに使用される名前です。

Returns:

  • (string)

    Name



63
64
65
# File 'lib/Win32_SoftwareElement.rb', line 63

def Name
  @Name
end

- (string) OtherTargetOS (readonly)

OtherTargetOS プロパティにより、TargetOperatingSystem プロパティに 1 の値 ("その他") があるときに、ソフトウェア要素の製造元とオペレーティング システムが記録されます。

 

Returns:

  • (string)

    OtherTargetOS



70
71
72
# File 'lib/Win32_SoftwareElement.rb', line 70

def OtherTargetOS
  @OtherTargetOS
end

- (string) Path (readonly)

インストールされているソフトウェアの要素へのパスです。

 

Returns:

  • (string)

    Path



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

def Path
  @Path
end

- (string) SerialNumber (readonly)

このソフトウェア要素の割り当てシリアル番号です。

Returns:

  • (string)

    SerialNumber



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

def SerialNumber
  @SerialNumber
end

- (string) SoftwareElementID (readonly)

これはこのソフトウェア要素の識別子で、この CIM_SoftwareElement の一意な表示を作成するためにほかのキーとともに使用されるように設計されています。

Returns:

  • (string)

    SoftwareElementID



92
93
94
# File 'lib/Win32_SoftwareElement.rb', line 92

def SoftwareElementID
  @SoftwareElementID
end

- (uint16) SoftwareElementState (readonly)

SoftwareElementState は、ソフトウェア要素のライフ サイクルのさまざまな状態を認識するためにこのモデルで定義されています。

  - 

Returns:

  • (uint16)

    SoftwareElementState



101
102
103
# File 'lib/Win32_SoftwareElement.rb', line 101

def SoftwareElementState
  @SoftwareElementState
end

- (string) Status (readonly)

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

 

Returns:

  • (string)

    Status



114
115
116
# File 'lib/Win32_SoftwareElement.rb', line 114

def Status
  @Status
end

- (uint16) TargetOperatingSystem (readonly)

TargetOperatingSystem プロパティにより、プロバイダがオペレーティング システム環境を指定できます。

 

Returns:

  • (uint16)

    TargetOperatingSystem



124
125
126
# File 'lib/Win32_SoftwareElement.rb', line 124

def TargetOperatingSystem
  @TargetOperatingSystem
end

- (string) Version (readonly)

バージョンの形式は、<メジャー>.<マイナ>.<リビジョン> または <メジャー>.<マイナ><レター><リビジョン> です。

 >

Returns:

  • (string)

    Version



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

def Version
  @Version
end