Export (0) Print
Expand All

PrintServer Constructor (String, String[])

Initializes a new instance of the PrintServer class that has the specified path and properties filter.

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

public PrintServer(
	string path,
	string[] propertiesFilter


Type: System.String

The name and complete path of the print server.

Type: System.String[]

An array of the names of properties that the constructor initializes.

If path is null, the PrintServer will represent the local print server and will be initialized with its properties, such as Name.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft