MSFT_PrinterPortTasks, ROOT\StandardCimv2\MS_409

Class | Methods (4) | Properties | Qualifiers (4) | Instances | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

Provides static methods for adding ports.

MSFT_PrinterPortTasks methods

MSFT_PrinterPortTasks has 4 methods (4 Local)

NameOriginReturn
AddByLocalPortMSFT_PrinterPortTasksuint32 {'out':True}
AddByLprPortMSFT_PrinterPortTasksuint32 {'out':True}
AddByTcpPortMSFT_PrinterPortTasksuint32 {'out':True}
AddByTcpPortLprModeMSFT_PrinterPortTasksuint32 {'out':True}

Detailed description of MSFT_PrinterPortTasks methods

Local methods (4) of MSFT_PrinterPortTasks class

AddByLocalPort method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ComputerNamestring0-{'Description':'The name of the server that the printer port will be added to.','In':True}
Namestring1-{'Description':'The name of the port.','In':True}
Description'Creates a new local printer port on a given server'
AddByLocalPort method is in 1 class (MSFT_PrinterPortTasks) of ROOT\StandardCimv2\MS_409 and in 2 namespaces
AddByLprPort method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ComputerNamestring0-{'Description':'The name of the server that the printer port will be added to.','In':True}
HostNamestring1-{'Description':'The name of the server hosting the LPR device.','In':True}
PrinterNamestring2-{'Description':'The LPR name of the printer.','In':True}
Description'Creates a new LPR printer port on a given server'
AddByLprPort method is in 1 class (MSFT_PrinterPortTasks) of ROOT\StandardCimv2\MS_409 and in 2 namespaces
AddByTcpPort method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ComputerNamestring0-{'Description':'The name of the server that the printer port will be added to.','In':True}
Namestring1-{'Description':'The name of the port.','In':True}
PortNumberuint322-{'Description':'The TCP/IP port number. Defaults to 9100.','In':True}
PrinterHostAddressstring3-{'Description':'The host address of the tcp port.','In':True}
SNMPuint324-{'Description':'Enables SNMP and specifies the index.','In':True}
SNMPCommunitystring5-{'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.'
AddByTcpPort method is in 1 class (MSFT_PrinterPortTasks) of ROOT\StandardCimv2\MS_409 and in 2 namespaces
AddByTcpPortLprMode method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ComputerNamestring0-{'Description':'Specifies the name of the server that the printer port will be added to. ','In':True}
LprByteCountingboolean1-{'Description':'Enables LPR Byte Counting.','In':True}
LprHostAddressstring2-{'Description':'The host address of the LPR port.','In':True}
LprQueueNamestring3-{'Description':'The LPR queue name.','In':True}
Namestring4-{'Description':'The name of the port.','In':True}
PortNumberuint325-{'Description':'The TCP/IP port number. Defaults to 515.','In':True}
SNMPuint326-{'Description':'Enables SNMP and specifies the index.','In':True}
SNMPCommunitystring7-{'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.'
AddByTcpPortLprMode method is in 1 class (MSFT_PrinterPortTasks) of ROOT\StandardCimv2\MS_409 and in 2 namespaces

MSFT_PrinterPortTasks Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue
Description'Provides static methods for adding ports.'
LOCALE'MS_409'
Version'1.0'

MSFT_PrinterPortTasks System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\StandardCimv2\MS_409:MSFT_PrinterPortTasks'___SYSTEM8
__NAMESPACE'ROOT\StandardCimv2\MS_409'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION[]___SYSTEM8
__PROPERTY_COUNT0___SYSTEM3
__RELPATH'MSFT_PrinterPortTasks'___SYSTEM8
__DYNASTY'MSFT_PrinterPortTasks'___SYSTEM8
__SUPERCLASSnull___SYSTEM8
__CLASS'MSFT_PrinterPortTasks'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to MSFT_PrinterPortTasks

Number of classes:1
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
MSFT_PrinterNfcTagTasks003----
comments powered by Disqus
WUtils.com