PrintServer.Commit Method ()


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

Commits any changes that your program made to the properties of the print server object by writing them to the print server that the object represents.

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

public override void Commit()

Exception Condition

Some of the properties are not committed.


Some of the properties could not be committed.

- or -

The PrintServer object was not created with sufficient rights. See Remarks.

The method requires that the PrintServer object be created with AdministrateServer rights.

.NET Framework
Available since 3.0
Return to top