Class: WMI::Win32_TCPIPPrinterPort
- Inherits:
-
Base
- Object
- Base
- WMI::Win32_TCPIPPrinterPort
- Defined in:
- lib/Win32_TCPIPPrinterPort.rb
Overview
Win32_TCPIPPrinterPort クラスにより、TCP//IP サービス アクセス ポイントが表されます。例: TCP/IP プリンタ ポート。
Instance Attribute Summary (collapse)
-
- (boolean) ByteCount
readonly
ByteCount プロパティが TRUE の場合は、ドキュメントのバイト数がプリンタに送信されて、プリンタで実際に読み取られたバイト数のレポートが返ってくる前に、コンピュータがドキュメントのバイト数を数えます。.
-
- (string) Caption
readonly
Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。.
-
- (string) CreationClassName
readonly
CreationClassName は、インスタンスの作成で使用されるクラス名、またはサブクラス名を示します。.
-
- (string) Description
readonly
Description プロパティでオブジェクトの説明が提供されます。.
-
- (string) HostAddress
readonly
HostAddress プロパティにより、デバイスのアドレス、またはプリント サーバーが示されます。.
-
- (datetime) InstallDate
readonly
InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。.
-
- (string) Name
readonly
Name プロパティによってサービス アクセス ポイントが一意に識別され、管理されている機能の表示が提供されます。.
-
- (uint32) PortNumber
readonly
PortNumber プロパティにより、デバイスと通信するためのポート モニタにより使用されている TCP ポート数を示します。.
-
- (uint32) Protocol
readonly
Protocol プロパティには 2 つの値があります: ‘Raw’ はデバイスに直接印刷していることを示します、そして ‘Lpr’ はデバイスまたはプリント サーバーに印刷していることを示します; LPR はやがては RAW に置き換えられるレガシ プロトコルです。.
-
- (string) Queue
readonly
Queue プロパティは LPR プロトコルと共に、サーバーでの印刷キュー名を示すために使用されます。.
-
- (string) SNMPCommunity
readonly
SNMPCommunity プロパティ には、デバイスのセキュリティ レベル値が含まれます。.
-
- (uint32) SNMPDevIndex
readonly
SNMPDevIndex プロパティにより、SNMP エージェントのこのデバイスの SNMP インデックス番号が示されます。.
-
- (boolean) SNMPEnabled
readonly
SNMPEnabled プロパティが TRUE の場合は、このプリンタが RFC1759 (簡易ネットワーク管理プロトコル) をサポートし、デバイスからリッチ状態情報を提供できることを示します。.
-
- (string) Status
readonly
Status プロパティはオブジェクトの現在の状態を示す文字列です。.
-
- (string) SystemCreationClassName
readonly
スコーピング システムによるクラス名作成です。.
-
- (string) SystemName
readonly
スコーピング システムの名前です.
-
- (uint32) Type
readonly
Type プロパティによって ’添付された’ または ’リダイレクトされた’ などの SAP の種類が示されます。.
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 の場合は、ドキュメントのバイト数がプリンタに送信されて、プリンタで実際に読み取られたバイト数のレポートが返ってくる前に、コンピュータがドキュメントのバイト数を数えます。
9 10 11 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 9 def ByteCount @ByteCount end |
- (string) Caption (readonly)
Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。
14 15 16 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 14 def Caption @Caption end |
- (string) CreationClassName (readonly)
CreationClassName は、インスタンスの作成で使用されるクラス名、またはサブクラス名を示します。
20 21 22 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 20 def CreationClassName @CreationClassName end |
- (string) Description (readonly)
Description プロパティでオブジェクトの説明が提供されます。
26 27 28 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 26 def Description @Description end |
- (string) HostAddress (readonly)
HostAddress プロパティにより、デバイスのアドレス、またはプリント サーバーが示されます。
31 32 33 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 31 def HostAddress @HostAddress end |
- (datetime) InstallDate (readonly)
InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。
37 38 39 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 37 def InstallDate @InstallDate end |
- (string) Name (readonly)
Name プロパティによってサービス アクセス ポイントが一意に識別され、管理されている機能の表示が提供されます。
43 44 45 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 43 def Name @Name end |
- (uint32) PortNumber (readonly)
PortNumber プロパティにより、デバイスと通信するためのポート モニタにより使用されている TCP ポート数を示します。
48 49 50 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 48 def PortNumber @PortNumber end |
- (uint32) Protocol (readonly)
Protocol プロパティには 2 つの値があります: ‘Raw’ はデバイスに直接印刷していることを示します、そして ‘Lpr’ はデバイスまたはプリント サーバーに印刷していることを示します; LPR はやがては RAW に置き換えられるレガシ プロトコルです。
54 55 56 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 54 def Protocol @Protocol end |
- (string) Queue (readonly)
Queue プロパティは LPR プロトコルと共に、サーバーでの印刷キュー名を示すために使用されます。
59 60 61 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 59 def Queue @Queue end |
- (string) SNMPCommunity (readonly)
SNMPCommunity プロパティ には、デバイスのセキュリティ レベル値が含まれます。
65 66 67 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 65 def SNMPCommunity @SNMPCommunity end |
- (uint32) SNMPDevIndex (readonly)
SNMPDevIndex プロパティにより、SNMP エージェントのこのデバイスの SNMP インデックス番号が示されます。
70 71 72 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 70 def SNMPDevIndex @SNMPDevIndex end |
- (boolean) SNMPEnabled (readonly)
SNMPEnabled プロパティが TRUE の場合は、このプリンタが RFC1759 (簡易ネットワーク管理プロトコル) をサポートし、デバイスからリッチ状態情報を提供できることを示します。
75 76 77 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 75 def SNMPEnabled @SNMPEnabled end |
- (string) Status (readonly)
Status プロパティはオブジェクトの現在の状態を示す文字列です。
88 89 90 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 88 def Status @Status end |
- (string) SystemCreationClassName (readonly)
スコーピング システムによるクラス名作成です。
93 94 95 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 93 def SystemCreationClassName @SystemCreationClassName end |
- (string) SystemName (readonly)
スコーピング システムの名前です
98 99 100 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 98 def SystemName @SystemName end |
- (uint32) Type (readonly)
Type プロパティによって ’添付された’ または ’リダイレクトされた’ などの SAP の種類が示されます。
103 104 105 |
# File 'lib/Win32_TCPIPPrinterPort.rb', line 103 def Type @Type end |