PrintServer Constructor (String, String[])


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

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)

new : 
        path:string *
        propertiesFilter:string[] -> PrintServer


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
Available since 3.0
Return to top