IADsPrintJob Property: UntilTime

Property Name
UntilTime

Property Type
Date

Description
Gets and sets the time by which the print job should be 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 UntilTime property
For each PrintJob In PrintQueueOperations.PrintJobs
 PrintJob.UntilTime = "13:30:00"
 'Commit the changes
  PrintJob.SetInfo
Next PrintJob

 

See Also