PrintQueue::Commit Method ()
.NET Framework (current version)
Writes the current properties of the PrintQueue object to the actual print queue on the print server.
Assembly: System.Printing (in System.Printing.dll)
| Exception | Condition |
|---|---|
| PrintSystemException | Some of the properties could not be committed. |
| PrintCommitAttributesException | Some of the properties could not be committed. - or - The PrintQueue object was not created with sufficient rights. |
Changes that your program makes to the properties of a PrintQueue object do not actually take effect until the program executes the Commit method.
The method requires that the PrintQueue object be created with AdministratePrinter rights.
.NET Framework
Available since 3.0
Available since 3.0
Show: