This documentation is archived and is not being maintained.

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 */
public PrintServer get_HostingPrintServer ()

/** @property */
protected void set_HostingPrintServer (PrintServer printServer)

public function get HostingPrintServer () : PrintServer

protected function set HostingPrintServer (printServer : PrintServer)

Not applicable.

Property Value

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0