Class: WMI::Win32_ApplicationService
- Inherits:
-
Base
- Object
- Base
- WMI::Win32_ApplicationService
- Defined in:
- lib/Win32_ApplicationService.rb
Overview
Win32_ApplicationService クラスは、システム上で利用可能なインストール済みのコンポーネント/アプリケーションまたはアドバタイズされたコンポーネント/アプリケーションを表します。このクラスのインスタンスにはインストール済みで実行可能な機器がすべて含まれています。
Instance Attribute Summary (collapse)
-
- (string) Caption
readonly
Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。.
-
- (string) CreationClassName
readonly
CreationClassName は、インスタンスの作成で使用されるクラス名、またはサブクラス名を示します。.
-
- (string) Description
readonly
Description プロパティでオブジェクトの説明が提供されます。.
-
- (datetime) InstallDate
readonly
InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。.
-
- (string) Name
readonly
Name プロパティによって、サービスが固有に識別され、管理されている機能の表示が提供されます。.
-
- (boolean) Started
readonly
Started はサービスが開始したか (TRUE)、または停止したか (FALSE) を示すブール値です。.
-
- (string) StartMode
readonly
StartMode は、サービスがオペレーティング システムによって自動的に開始するかどうか、または要求に応じて開始するだけなのかどうかを示す文字列の値です.
-
- (string) Status
readonly
Status プロパティはオブジェクトの現在の状態を示す文字列です。.
-
- (string) SystemCreationClassName
readonly
スコーピング システムの CreationClassName です。.
-
- (string) SystemName
readonly
このサービスのホストになるシステム名です.
Instance Method Summary (collapse)
-
- (uint32) StartService
StartService 方法によって、開始された状態のサービスが置かれます。 サービスが正常に開始すると、整数 0 が返され、要求がサポートされない場合は 1 が返されます。 エラーを示す場合は、別の数字が返されます。 サブクラスでは、可能な返信コードのセットはメソッド上の ValueMap 修飾子を使って指定することも可能です。.
-
- (uint32) StopService
StopService 方法によって、停止された状態のサービスが置かれます。 サービスが正常に停止すると、整数 0 が返され、要求がサポートされていない場合は 1 が返されます。 エラーを示す場合は、別の数字が返されます。.
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 行分の文字列) です。
26 27 28 |
# File 'lib/Win32_ApplicationService.rb', line 26 def Caption @Caption end |
- (string) CreationClassName (readonly)
CreationClassName は、インスタンスの作成で使用されるクラス名、またはサブクラス名を示します。
32 33 34 |
# File 'lib/Win32_ApplicationService.rb', line 32 def CreationClassName @CreationClassName end |
- (string) Description (readonly)
Description プロパティでオブジェクトの説明が提供されます。
38 39 40 |
# File 'lib/Win32_ApplicationService.rb', line 38 def Description @Description end |
- (datetime) InstallDate (readonly)
InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。
44 45 46 |
# File 'lib/Win32_ApplicationService.rb', line 44 def InstallDate @InstallDate end |
- (string) Name (readonly)
Name プロパティによって、サービスが固有に識別され、管理されている機能の表示が提供されます。
51 52 53 |
# File 'lib/Win32_ApplicationService.rb', line 51 def Name @Name end |
- (boolean) Started (readonly)
Started はサービスが開始したか (TRUE)、または停止したか (FALSE) を示すブール値です。
56 57 58 |
# File 'lib/Win32_ApplicationService.rb', line 56 def Started @Started end |
- (string) StartMode (readonly)
StartMode は、サービスがオペレーティング システムによって自動的に開始するかどうか、または要求に応じて開始するだけなのかどうかを示す文字列の値です
61 62 63 |
# File 'lib/Win32_ApplicationService.rb', line 61 def StartMode @StartMode end |
- (string) Status (readonly)
Status プロパティはオブジェクトの現在の状態を示す文字列です。
74 75 76 |
# File 'lib/Win32_ApplicationService.rb', line 74 def Status @Status end |
- (string) SystemCreationClassName (readonly)
スコーピング システムの CreationClassName です。
80 81 82 |
# File 'lib/Win32_ApplicationService.rb', line 80 def SystemCreationClassName @SystemCreationClassName end |
- (string) SystemName (readonly)
このサービスのホストになるシステム名です
85 86 87 |
# File 'lib/Win32_ApplicationService.rb', line 85 def SystemName @SystemName end |
Instance Method Details
- (uint32) StartService
StartService 方法によって、開始された状態のサービスが置かれます。 サービスが正常に開始すると、整数 0 が返され、要求がサポートされない場合は 1 が返されます。 エラーを示す場合は、別の数字が返されます。 サブクラスでは、可能な返信コードのセットはメソッド上の ValueMap 修飾子を使って指定することも可能です。
ValueMap
値の配置修飾子としてサブクラスで指定される場合もあります。
12 13 |
# File 'lib/Win32_ApplicationService.rb', line 12 def StartService end |
- (uint32) StopService
StopService 方法によって、停止された状態のサービスが置かれます。 サービスが正常に停止すると、整数 0 が返され、要求がサポートされていない場合は 1 が返されます。 エラーを示す場合は、別の数字が返されます。
20 21 |
# File 'lib/Win32_ApplicationService.rb', line 20 def StopService end |