Refresh Method
Collapse the table of content
Expand the table of content

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()


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

© 2016 Microsoft