PrintServer.GetPrintQueue Method (String, 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.

Gets a specified print queue from the print server.

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

public PrintQueue GetPrintQueue(
	string printQueueName,
	string[] propertiesFilter
)

Parameters

printQueueName
Type: System.String

The name of the print queue.

propertiesFilter
Type: System.String[]

The names of the properties that are initialized in the returned queue.

Return Value

Type: System.Printing.PrintQueue

The PrintQueue with the specified name from the print server.

.NET Framework
Available since 3.0
Return to top
Show: