This documentation is archived and is not being maintained.

PrintServer.Refresh Method

Updates the properties of the PrintServer object so that each property value matches the corresponding attribute value of the print server that the object represents.

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

public override void Refresh ()
public void Refresh ()
public override function Refresh ()
Not applicable.

Exception typeCondition

PrintSystemException

Some of the properties cannot be refreshed.

Any changes that you make to the properties of a PrintServer can be lost when the Refresh method executes. This loss occurs if you did not yet write the changes to the print server that the object represents with Commit.

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
Show: