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.
public override void Commit()
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.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.