IADsPrintJob Property: Notify

Property Name
Notify

Property Type
String

Description
Gets and sets the user to notify when the job processing is complete. A message will be sent to this user when the job is printed.

Example

Dim PrintQueueOperations As IADsPrintQueueOperations
Dim PrintJob As IADsPrintJob
'Get the IADsPrintQueueOperations interface. In the path HP DeskJet '500C is the print queue.
Set PrintQueueOperations = GetObject ("NTDS://MSFT/MOON/HP DeskJet 500C")
'Enumerate individual print jobs and set the
'Notify property
For each PrintJob In PrintQueueOperations.PrintJobs
 PrintJob.Notify = "John"
 'Commit the changes
  PrintJob.SetInfo
Next PrintJob

 

See Also