|
|
MSFT_PrinterPortTasks, ROOT\StandardCimv2
Class
| Methods (4)
| Properties | Qualifiers (5)
| Instances | Namespaces (2)
Samples: VB Script
| C#
| VB.Net
| Search on:Microsoft
DescriptionProvides static methods for adding ports.
MSFT_PrinterPortTasks methodsMSFT_PrinterPortTasks has 4 methods (4 Local)
Detailed description of MSFT_PrinterPortTasks methodsLocal methods (4) of MSFT_PrinterPortTasks class| ▲ AddByLocalPort method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| ComputerName | string | 0 | ✓ | - | {'Description':'The name of the server that the printer port will be added to.','In':True} | | Name | string | 1 | ✓ | - | {'Description':'The name of the port.','In':True} |
|
|---|
| Description | 'Creates a new local printer port on a given server' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| AddByLocalPort method is in 1 class (MSFT_PrinterPortTasks) of ROOT\StandardCimv2 and in 2 namespaces |
| ▲ AddByLprPort method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| ComputerName | string | 0 | ✓ | - | {'Description':'The name of the server that the printer port will be added to.','In':True} | | HostName | string | 1 | ✓ | - | {'Description':'The name of the server hosting the LPR device.','In':True} | | PrinterName | string | 2 | ✓ | - | {'Description':'The LPR name of the printer.','In':True} |
|
|---|
| Description | 'Creates a new LPR printer port on a given server' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| AddByLprPort method is in 1 class (MSFT_PrinterPortTasks) of ROOT\StandardCimv2 and in 2 namespaces |
| ▲ AddByTcpPort method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| ComputerName | string | 0 | ✓ | - | {'Description':'The name of the server that the printer port will be added to.','In':True} | | Name | string | 1 | ✓ | - | {'Description':'The name of the port.','In':True} | | PortNumber | uint32 | 2 | ✓ | - | {'Description':'The TCP/IP port number. Defaults to 9100.','In':True} | | PrinterHostAddress | string | 3 | ✓ | - | {'Description':'The host address of the tcp port.','In':True} | | SNMP | uint32 | 4 | ✓ | - | {'Description':'Enables SNMP and specifies the index.','In':True} | | SNMPCommunity | string | 5 | ✓ | - | {'Description':'The SNMP Community Name. Must be specified if SNMP is enabled.','In':True} |
|
|---|
| Description | 'Creates a new TCP/IP printer port on a given server in TCP mode.' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| AddByTcpPort method is in 1 class (MSFT_PrinterPortTasks) of ROOT\StandardCimv2 and in 2 namespaces |
| ▲ AddByTcpPortLprMode method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| ComputerName | string | 0 | ✓ | - | {'Description':'Specifies the name of the server that the printer port will be added to. ','In':True} | | LprByteCounting | boolean | 1 | ✓ | - | {'Description':'Enables LPR Byte Counting.','In':True} | | LprHostAddress | string | 2 | ✓ | - | {'Description':'The host address of the LPR port.','In':True} | | LprQueueName | string | 3 | ✓ | - | {'Description':'The LPR queue name.','In':True} | | Name | string | 4 | ✓ | - | {'Description':'The name of the port.','In':True} | | PortNumber | uint32 | 5 | ✓ | - | {'Description':'The TCP/IP port number. Defaults to 515.','In':True} | | SNMP | uint32 | 6 | ✓ | - | {'Description':'Enables SNMP and specifies the index.','In':True} | | SNMPCommunity | string | 7 | ✓ | - | {'Description':'The SNMP Community Name. Must be specified if SNMP is enabled.','In':True} |
|
|---|
| Description | 'Creates a new TCP/IP printer port on a given server in LPR mode.' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| AddByTcpPortLprMode method is in 1 class (MSFT_PrinterPortTasks) of ROOT\StandardCimv2 and in 2 namespaces |
MSFT_PrinterPortTasks Qualifiers| Name | Value | ToInstance | ToSubclass | Overridable | Amended | Local |
| Description | 'Provides static methods for adding ports.' | ✗ | ✓ | ✓ | ✓ | ✓ |
| dynamic | True | ✓ | ✗ | ✓ | ✗ | ✓ |
| locale | 'MS_409' | ✗ | ✗ | ✓ | ✓ | ✓ |
| provider | 'MSFT_Printer' | ✓ | ✗ | ✓ | ✗ | ✓ |
| Version | '1.0' | ✗ | ✗ | ✓ | ✓ | ✓ |
MSFT_PrinterPortTasks System properties| Name | Value | Origin | CIMType | Local | Array |
| __PATH | '\\.\ROOT\StandardCimv2:MSFT_PrinterPortTasks' | ___SYSTEM | 8 | ✗ | ✗ |
| __NAMESPACE | 'ROOT\StandardCimv2' | ___SYSTEM | 8 | ✗ | ✗ |
| __SERVER | '.' | ___SYSTEM | 8 | ✗ | ✗ |
| __DERIVATION | [] | ___SYSTEM | 8 | ✗ | ✓ |
| __PROPERTY_COUNT | 0 | ___SYSTEM | 3 | ✗ | ✗ |
| __RELPATH | 'MSFT_PrinterPortTasks' | ___SYSTEM | 8 | ✗ | ✗ |
| __DYNASTY | 'MSFT_PrinterPortTasks' | ___SYSTEM | 8 | ✗ | ✗ |
| __SUPERCLASS | null | ___SYSTEM | 8 | ✗ | ✗ |
| __CLASS | 'MSFT_PrinterPortTasks' | ___SYSTEM | 8 | ✗ | ✗ |
| __GENUS | 1 | ___SYSTEM | 3 | ✗ | ✗ |
Similar Classes to MSFT_PrinterPortTasksNumber of classes:1
comments powered by
|
|