Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

PrintQueue.HostingPrintServer Property

Gets or sets (protected) the print server that controls the print queue.

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

public virtual PrintServer HostingPrintServer { get; protected set; }

Property Value

Type: System.Printing.PrintServer
The name and other properties of the PrintServer that is hosting the print queue.

This property can be set only by a class that derives from PrintQueue because the property's setter is protected.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft