PrintServer.DeletePrintQueue Method (PrintQueue)

 

Removes the specified PrintQueue from the print server.

Namespace:   System.Printing
Assembly:  System.Printing (in System.Printing.dll)

public static bool DeletePrintQueue(
	PrintQueue printQueue
)

Parameters

printQueue
Type: System.Printing.PrintQueue

The queue that is deleted.

Return Value

Type: System.Boolean

true if the queue is successfully deleted; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: