IADsPrintJob Property Methods

Property methods take the form of either get_<property> or put_<property>. The property methods of the IADsPrintJob interface get or set the properties described below. For more information, see Interface Property Methods.

Properties in Vtable Order

Property Access Method Prototype
Description R/W HRESULT get_Description
([out] BSTR *pbstrDescription);

HRESULT put_Description
([in] BSTR bstrDescription);

HostPrintQueue R/O HRESULT get_HostPrintQueue ([out] BSTR *pbstrHostPrintQueue);
Notify R/W HRESULT get_Notify
([out] BSTR *pbstrNotify);

HRESULT put_Notify
([in] BSTR bstrNotify);

NotifyPath R/W HRESULT get_NotifyPath
([out] BSTR *pbstrNotifyPath);

HRESULT put_NotifyPath
([in] BSTR bstrNotifyPath);

Priority R/W HRESULT get_Priority
([out] LONG *plPriority);

HRESULT put_Priority
([in] LONG lPriority);

Size R/O HRESULT get_Size

([out] LONG *plSize);

StartTime R/W HRESULT get_StartTime
([out] DATE *pdateStartTime);

HRESULT put_StartTime
([in] DATE dateStartTime);

TimeSubmitted R/O HRESULT get_TimeSubmitted

([out] DATE *pdateTimeSubmitted);

TotalPages R/O HRESULT get_TotalPages

([out] LONG *plTotalPages);

UntilTime R/W HRESULT get_UntilTime
([out] DATE *pdateUntilTime);

HRESULT put_UntilTime
([in] DATE dateUntilTime);

User R/O HRESULT get_User

([out] BSTR *pbstrUser);

UserPath R/O HRESULT get_UserPath

([out] BSTR *pbstrUserPath);


Property Descriptions

Description
Gets and sets the description of the print job.
HostPrintQueue
Gets the ADsPath string that references the Print Queue which is processing the print job.
Notify
Gets and sets the user to notify when job processing is complete.
NotifyPath
Gets and sets the ADsPath for the user object of the user to notify when job processing is complete.
Priority
Gets and sets the priority of the print job.
Size
Gets the size of the print job in bytes.
StartTime
Gets and sets the earliest time the job should be printed.
TimeSubmitted
Gets the time that the job was submitted to the queue.
TotalPages
Gets the total number of pages in the print job.
UntilTime
Gets and sets the latest time the job should be printed.
User
Gets the name of user that submitted the print job.
UserPath
Gets the ADsPath of the user object for the user that submitted this print job.

See Also

IADsPrintJobOperations, IADsPrintQueueOperations::PrintJobs, ADSI PrintQueue Object, ADSI PrintJob Object