PrintSystemJobInfo.Get(PrintQueue, Int32) Method

Definition

Gets the PrintSystemJobInfo for the specified job in the specified PrintQueue.

public:
 static System::Printing::PrintSystemJobInfo ^ Get(System::Printing::PrintQueue ^ printQueue, int jobIdentifier);
public static System.Printing.PrintSystemJobInfo Get (System.Printing.PrintQueue printQueue, int jobIdentifier);
static member Get : System.Printing.PrintQueue * int -> System.Printing.PrintSystemJobInfo
Public Shared Function Get (printQueue As PrintQueue, jobIdentifier As Integer) As PrintSystemJobInfo

Parameters

printQueue
PrintQueue

The print queue hosting the print job.

jobIdentifier
Int32

A numerical ID for the print job.

Returns

PrintSystemJobInfo

The PrintSystemJobInfo that corresponds to the jobIdentifier.

Remarks

You can also use the PrintQueue.GetJob method for the same purpose.

Applies to

See also