PrintServer.Refresh Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Exception Condition
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.

.NET Framework
Available since 3.0
Return to top
Show: