Class: WMI::Win32_Terminal
Overview
CIM_LogicalElement クラスは、抽象型システム コンポーネントを表すシステムのコンポーネントすべての基本クラスです。 例: 論理デバイスの形式におけるプロファイル、プロセスまたはシステム機能。
Instance Attribute Summary (collapse)
-
- (string) Caption
readonly
Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。.
-
- (string) Description
readonly
Description プロパティでオブジェクトの説明が提供されます。.
-
- (uint32) fEnableTerminal
readonly
ターミナルを有効または無効にします。.
-
- (datetime) InstallDate
readonly
InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。.
-
- (string) Name
readonly
Name プロパティで、オブジェクトを認識するラベルを定義します。.
-
- (string) Status
readonly
Status プロパティはオブジェクトの現在の状態を示す文字列です。.
-
- (string) TerminalName
readonly
ターミナルの名前です。.
Instance Method Summary (collapse)
-
- (uint32) Enable(fEnableTerminal)
ターミナルを有効または無効にします。 関数は、関数を有効または無効にするフラグのパラメータを 1 つ取ります。 呼び出しは成功には 0 を、失敗にはエラーを返します。.
-
- (uint32) Rename(NewTerminalName)
Winstation の名前を変更します。 関数は New Terminalname パラメータを 1 つ取ります。 呼び出しは成功には 0 を、失敗にはエラーを返します。.
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_Terminal.rb', line 26 def Caption @Caption end |
- (string) Description (readonly)
Description プロパティでオブジェクトの説明が提供されます。
32 33 34 |
# File 'lib/Win32_Terminal.rb', line 32 def Description @Description end |
- (uint32) fEnableTerminal (readonly)
ターミナルを有効または無効にします。
37 38 39 |
# File 'lib/Win32_Terminal.rb', line 37 def fEnableTerminal @fEnableTerminal end |
- (datetime) InstallDate (readonly)
InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。
43 44 45 |
# File 'lib/Win32_Terminal.rb', line 43 def InstallDate @InstallDate end |
- (string) Name (readonly)
Name プロパティで、オブジェクトを認識するラベルを定義します。
49 50 51 |
# File 'lib/Win32_Terminal.rb', line 49 def Name @Name end |
- (string) Status (readonly)
Status プロパティはオブジェクトの現在の状態を示す文字列です。
62 63 64 |
# File 'lib/Win32_Terminal.rb', line 62 def Status @Status end |
- (string) TerminalName (readonly)
ターミナルの名前です。
67 68 69 |
# File 'lib/Win32_Terminal.rb', line 67 def TerminalName @TerminalName end |
Instance Method Details
- (uint32) Enable(fEnableTerminal)
ターミナルを有効または無効にします。 関数は、関数を有効または無効にするフラグのパラメータを 1 つ取ります。 呼び出しは成功には 0 を、失敗にはエラーを返します。
11 12 |
# File 'lib/Win32_Terminal.rb', line 11 def Enable fEnableTerminal end |
- (uint32) Rename(NewTerminalName)
Winstation の名前を変更します。 関数は New Terminalname パラメータを 1 つ取ります。 呼び出しは成功には 0 を、失敗にはエラーを返します。
20 21 |
# File 'lib/Win32_Terminal.rb', line 20 def Rename NewTerminalName end |