Deletes this print job
[Visual Basic] Public Sub Delete [C#] public void Delete(); [C++] public: void Delete(); [JScript] public function Delete();
Throws an InsufficentPrintJobAccessRightsException if the logged in user does not have sufficient privilege to delete this print job
[Visual Basic] The following example deletes a job
[Visual Basic] Public Sub DeleteAJob(ByVal pjIn As PrintJob) With pjIn Try .Delete() Catch ej As PrinterQueueWatch.PrinterMonitoringExceptions.InsufficentPrintJobAccessRightsException Debug.Write("You cannot delete this print job") End Try End With End Sub
Platforms: Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
© 2003 Merrion Computing Ltd. All rights reserved.