PrinterInformation.Priority Property

Returns the standard priority of jobs added to this printer

[Visual Basic]
Public Property Priority As Int32
[C#]
public Int32 Priority {get;set}

Property Value

Returns the standard priority of jobs added to this printer

Remarks

Throws an InsufficentPrinterAccessRightsException if set and the logged in user does not have sufficient privilege to alter this printer information

Example

[Visual Basic] The following example prints the priority of a job to a trace

[Visual Basic] 
Public Sub TracePriority(ByVal piIn As PrinterInformation)

        With piIn
            Trace.WriteLine("** Priority: " & .Priority.ToString)
        End With

End Sub

Requirements

Namespace: PrinterQueueWatch

Platforms:  Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

PrinterInformation overview , All PrinterInformation members


© 2003-2005 Merrion Computing Ltd. All rights reserved.