Class: WMI::Win32_StartupCommand

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

Overview

Win32_StartupCommand クラスは、ユーザーがコンピュータ システムにログオンするときに自動的に実行されるコマンドを表します。

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



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

def Caption
  @Caption
end

- (string) Command (readonly)

Command プロパティは、スタートアップ コマンドで実行されるコマンド ラインを表すストリングを示します。

 

Returns:

  • (string)

    Command



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

def Command
  @Command
end

- (string) Description (readonly)

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

Returns:

  • (string)

    Description



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

def Description
  @Description
end

- (string) Location (readonly)

Location プロパティは、スタートアップ コマンドがディスク ファイル システム上にあるパスを示します。

Returns:

  • (string)

    Location



24
25
26
# File 'lib/Win32_StartupCommand.rb', line 24

def Location
  @Location
end

- (string) Name (readonly)

Name プロパティは、スタートアップ コマンドのファイル名を示します。

 

Returns:

  • (string)

    Name



31
32
33
# File 'lib/Win32_StartupCommand.rb', line 31

def Name
  @Name
end

- (string) SettingID (readonly)

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

Returns:

  • (string)

    SettingID



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

def SettingID
  @SettingID
end

- (string) User (readonly)

User プロパティは、このスタートアップ コマンドを実行するユーザー名を示します。

 

Returns:

  • (string)

    User



43
44
45
# File 'lib/Win32_StartupCommand.rb', line 43

def User
  @User
end