PrintServer.DeletePrintQueue Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes the print queue with the specified name from the print server.

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

public static bool DeletePrintQueue(
	string printQueueName
)

Parameters

printQueueName
Type: System.String

The name of 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: