Class: WMI::Win32_ServerSession

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

Overview

Win32_ServerSession クラスは、リモート コンピュータのユーザーによってローカル コンピュータに確立されているセッションを表します。

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)

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

Returns:

  • (string)

    Caption



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

def Caption
  @Caption
end

- (String) ComputerName (readonly)

ComputerName プロパティはセッションが確立されるコンピュータの名前を示します。

Returns:

  • (String)

    ComputerName



22
23
24
# File 'lib/Win32_ServerSession.rb', line 22

def ComputerName
  @ComputerName
end

- (string) Description (readonly)

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

Returns:

  • (string)

    Description



28
29
30
# File 'lib/Win32_ServerSession.rb', line 28

def Description
  @Description
end

- (uint32) IdleTime (readonly)

IdleTime プロパティはセッションがアイドル状態になっている秒数を示します。

Returns:

  • (uint32)

    IdleTime



33
34
35
# File 'lib/Win32_ServerSession.rb', line 33

def IdleTime
  @IdleTime
end

- (datetime) InstallDate (readonly)

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

 

Returns:

  • (datetime)

    InstallDate



39
40
41
# File 'lib/Win32_ServerSession.rb', line 39

def InstallDate
  @InstallDate
end

- (string) Name (readonly)

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

 

Returns:

  • (string)

    Name



45
46
47
# File 'lib/Win32_ServerSession.rb', line 45

def Name
  @Name
end

- (string) Status (readonly)

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

 

Returns:

  • (string)

    Status



69
70
71
# File 'lib/Win32_ServerSession.rb', line 69

def Status
  @Status
end