Class: WMI::Win32_TCPIPPrinterPort

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

Overview

Win32_TCPIPPrinterPort クラスにより、TCP//IP サービス アクセス ポイントが表されます。例: TCP/IP プリンタ ポート。

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

- (boolean) ByteCount (readonly)

ByteCount プロパティが TRUE の場合は、ドキュメントのバイト数がプリンタに送信されて、プリンタで実際に読み取られたバイト数のレポートが返ってくる前に、コンピュータがドキュメントのバイト数を数えます。

   

Returns:

  • (boolean)

    ByteCount



9
10
11
# File 'lib/Win32_TCPIPPrinterPort.rb', line 9

def ByteCount
  @ByteCount
end

- (string) Caption (readonly)

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

Returns:

  • (string)

    Caption



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

def Caption
  @Caption
end

- (string) CreationClassName (readonly)

CreationClassName は、インスタンスの作成で使用されるクラス名、またはサブクラス名を示します。

 

Returns:

  • (string)

    CreationClassName



20
21
22
# File 'lib/Win32_TCPIPPrinterPort.rb', line 20

def CreationClassName
  @CreationClassName
end

- (string) Description (readonly)

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

Returns:

  • (string)

    Description



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

def Description
  @Description
end

- (string) HostAddress (readonly)

HostAddress プロパティにより、デバイスのアドレス、またはプリント サーバーが示されます。

Returns:

  • (string)

    HostAddress



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

def HostAddress
  @HostAddress
end

- (datetime) InstallDate (readonly)

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

 

Returns:

  • (datetime)

    InstallDate



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

def InstallDate
  @InstallDate
end

- (string) Name (readonly)

Name プロパティによってサービス アクセス ポイントが一意に識別され、管理されている機能の表示が提供されます。

 

Returns:

  • (string)

    Name



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

def Name
  @Name
end

- (uint32) PortNumber (readonly)

PortNumber プロパティにより、デバイスと通信するためのポート モニタにより使用されている TCP ポート数を示します。

Returns:

  • (uint32)

    PortNumber



48
49
50
# File 'lib/Win32_TCPIPPrinterPort.rb', line 48

def PortNumber
  @PortNumber
end

- (uint32) Protocol (readonly)

Protocol プロパティには 2 つの値があります: ‘Raw’ はデバイスに直接印刷していることを示します、そして ‘Lpr’ はデバイスまたはプリント サーバーに印刷していることを示します; LPR はやがては RAW に置き換えられるレガシ プロトコルです。

 

Returns:

  • (uint32)

    Protocol



54
55
56
# File 'lib/Win32_TCPIPPrinterPort.rb', line 54

def Protocol
  @Protocol
end

- (string) Queue (readonly)

Queue プロパティは LPR プロトコルと共に、サーバーでの印刷キュー名を示すために使用されます。

Returns:

  • (string)

    Queue



59
60
61
# File 'lib/Win32_TCPIPPrinterPort.rb', line 59

def Queue
  @Queue
end

- (string) SNMPCommunity (readonly)

SNMPCommunity プロパティ には、デバイスのセキュリティ レベル値が含まれます。

  

Returns:

  • (string)

    SNMPCommunity



65
66
67
# File 'lib/Win32_TCPIPPrinterPort.rb', line 65

def SNMPCommunity
  @SNMPCommunity
end

- (uint32) SNMPDevIndex (readonly)

SNMPDevIndex プロパティにより、SNMP エージェントのこのデバイスの SNMP インデックス番号が示されます。

Returns:

  • (uint32)

    SNMPDevIndex



70
71
72
# File 'lib/Win32_TCPIPPrinterPort.rb', line 70

def SNMPDevIndex
  @SNMPDevIndex
end

- (boolean) SNMPEnabled (readonly)

SNMPEnabled プロパティが TRUE の場合は、このプリンタが RFC1759 (簡易ネットワーク管理プロトコル) をサポートし、デバイスからリッチ状態情報を提供できることを示します。

Returns:

  • (boolean)

    SNMPEnabled



75
76
77
# File 'lib/Win32_TCPIPPrinterPort.rb', line 75

def SNMPEnabled
  @SNMPEnabled
end

- (string) Status (readonly)

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

 

Returns:

  • (string)

    Status



88
89
90
# File 'lib/Win32_TCPIPPrinterPort.rb', line 88

def Status
  @Status
end

- (string) SystemCreationClassName (readonly)

スコーピング システムによるクラス名作成です。

Returns:

  • (string)

    SystemCreationClassName



93
94
95
# File 'lib/Win32_TCPIPPrinterPort.rb', line 93

def SystemCreationClassName
  @SystemCreationClassName
end

- (string) SystemName (readonly)

スコーピング システムの名前です

Returns:

  • (string)

    SystemName



98
99
100
# File 'lib/Win32_TCPIPPrinterPort.rb', line 98

def SystemName
  @SystemName
end

- (uint32) Type (readonly)

Type プロパティによって ’添付された’ または ’リダイレクトされた’ などの SAP の種類が示されます。

Returns:

  • (uint32)

    Type



103
104
105
# File 'lib/Win32_TCPIPPrinterPort.rb', line 103

def Type
  @Type
end