Class: WMI::Win32_Terminal

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

Overview

CIM_LogicalElement クラスは、抽象型システム コンポーネントを表すシステムのコンポーネントすべての基本クラスです。 例: 論理デバイスの形式におけるプロファイル、プロセスまたはシステム機能。

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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 行分の文字列) です。

Returns:

  • (string)

    Caption



26
27
28
# File 'lib/Win32_Terminal.rb', line 26

def Caption
  @Caption
end

- (string) Description (readonly)

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

Returns:

  • (string)

    Description



32
33
34
# File 'lib/Win32_Terminal.rb', line 32

def Description
  @Description
end

- (uint32) fEnableTerminal (readonly)

ターミナルを有効または無効にします。

Returns:

  • (uint32)

    fEnableTerminal



37
38
39
# File 'lib/Win32_Terminal.rb', line 37

def fEnableTerminal
  @fEnableTerminal
end

- (datetime) InstallDate (readonly)

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

 

Returns:

  • (datetime)

    InstallDate



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

def InstallDate
  @InstallDate
end

- (string) Name (readonly)

Name プロパティで、オブジェクトを認識するラベルを定義します。

 

Returns:

  • (string)

    Name



49
50
51
# File 'lib/Win32_Terminal.rb', line 49

def Name
  @Name
end

- (string) Status (readonly)

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

 

Returns:

  • (string)

    Status



62
63
64
# File 'lib/Win32_Terminal.rb', line 62

def Status
  @Status
end

- (string) TerminalName (readonly)

ターミナルの名前です。

Returns:

  • (string)

    TerminalName



67
68
69
# File 'lib/Win32_Terminal.rb', line 67

def TerminalName
  @TerminalName
end

Instance Method Details

- (uint32) Enable(fEnableTerminal)

ターミナルを有効または無効にします。 関数は、関数を有効または無効にするフラグのパラメータを 1 つ取ります。 呼び出しは成功には 0 を、失敗にはエラーを返します。

Parameters:

  • (uint32, #read) fEnableTerminal

Returns:

  • (uint32)


11
12
# File 'lib/Win32_Terminal.rb', line 11

def Enable fEnableTerminal
end

- (uint32) Rename(NewTerminalName)

Winstation の名前を変更します。 関数は New Terminalname パラメータを 1 つ取ります。 呼び出しは成功には 0 を、失敗にはエラーを返します。

Parameters:

  • (string, #read) NewTerminalName

Returns:

  • (uint32)


20
21
# File 'lib/Win32_Terminal.rb', line 20

def Rename NewTerminalName
end