HostingPrintServer Property

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

© 2015 Microsoft