Windows NT/2000 ADSI Scripting for System Administration
IADsPrintJobOperations
IADsPrintJobOperations::ADsPath
| Description | Returns the distinguished name of the bound object |
| Provider Support | WinNT |
| Data Type | String |
| Read-Only? | Yes |
IADsPrintJobOperations::Class
| Description | Returns the object class definition of the bound object |
| Provider Support | WinNT |
| Data Type | String |
| Read-Only? | Yes |
IADsPrintJobOperations::Get
| Description | Retrieves a value from a namespace by name |
| Provider Support | WinNT |
| Syntax | Get(Name As String) |
| Data Type | Variant |
IADsPrintJobOperations::GetEx
| Description | Retrieves a single value from a multi-valued attribute |
| Provider Support | WinNT |
| Syntax | GetEx(Name As String) |
| Data Type | Variant |
IADsPrintJobOperations::GetInfo
| Description | Loads all property values into the cache |
| Provider Support | WinNT |
| Syntax | GetInfo() |
| Data Type | None |
IADsPrintJobOperations::GetInfoEx
| Description | Loads specific properties into the cache |
| Provider Support | WinNT |
| Syntax | GetInfoEx(Properties As Variant, Reserved As Long) |
| Data Type | None |
IADsPrintJobOperations::GUID
| Description | Returns the GUID of the bound object |
| Provider Support | WinNT |
| Data Type | String |
| Read-Only? | Yes |
IADsPrintJobOperations::Name
| Description | Returns the relative name of the bound object |
| Provider Support | WinNT |
| Data Type | String |
| Read-Only? | Yes |
IADsPrintJobOperations::PagesPrinted
| Description | Returns the total number of pages printed for the bound print job |
| Provider Support | WinNT |
| Data Type | Long |
| Read-Only? | Yes |
IADsPrintJobOperations::Parent
| Description | Returns the ADsPath of the parent object |
| Provider Support | WinNT |
| Data Type | String |
| Read-Only? | Yes |
IADsPrintJobOperations::Pause
| Description | Pauses printing of the current job |
| Provider Support | WinNT |
| Syntax | Pause() |
| Data Type | None |
IADsPrintJobOperations::Position
| Description | Establishes the position of the current print job within the print queue |
| Provider Support | WinNT |
| Data Type | Long |
| Read-Only? | No |
IADsPrintJobOperations::Put
| Description | Allows population of a single attribute by name |
| Provider Support | WinNT |
| Syntax | Put(Name As String, Property As Variant) |
| Data Type | None |
IADsPrintJobOperations::PutEx
| Description | Allows population of a multi-valued property by name |
| Provider Support | WinNT |
| Syntax | PutEx(ControlCode As Long, Name as String, Property As Variant) |
| Data Type | None |
IADsPrintJobOperations::Resume
| Description | Resumes printing of the bound print job |
| Provider Support | WinNT |
| Syntax | Resume |
| Data Type | None |
IADsPrintJobOperations::Schema
| Description | Returns the ADsPath to the schema class object for the bound object |
| Provider Support | WinNT |
| Data Type | String |
| Read-Only? | Yes |
IADsPrintJobOperations::SetInfo
| Description | Writes the current properties held in the cache to the directory |
| Provider Support | WinNT |
| Syntax | SetInfo() |
| Data Type | None |
IADsPrintJobOperations::Status
| Description | Returns the status of the currently bound print job |
| Provider Support | WinNT |
| Data Type | Long |
| Read-Only? | Yes |
IADsPrintJobOperations::Status Return Values
| Flag | Value |
|---|---|
| ADS_JOB_PAUSED | 0x00000001 |
| ADS_JOB_ERROR | 0x00000002 |
| ADS_JOB_DELETING | 0x00000004 |
| ADS_JOB_PRINTING | 0x00000010 |
| ADS_JOB_OFFLINE | 0x00000020 |
| ADS_JOB_PAPEROUT | 0x00000040 |
| ADS_JOB_PRINTED | 0x00000080 |
| ADS_JOB_DELETED | 0x00000100 |
IADsPrintJobOperations::TimeElapsed
| Description | Returns the time elapsed (in seconds) since the job was serviced |
| Provider Support | WinNT |
| Data Type | Long |
| Read-Only? | Yes |
| Top |