Compartilhar via


JobCompletionTimeout

Indicates the number of milliseconds before a pending job is deleted from the Print Spooler resource queue. The following table summarizes the attributes of the JobCompletionTimeout property.

Attribute Value
Data type DWORD
Access Read/write
Status Optional
Structure CLUSPROP_DWORD
Minimum 0
Maximum 0xFFFFFFFF
Default 0

Examples

The property value portion of a property list entry for JobCompletionTimeout can be set with the following example code.

DWORD          JobCompletionTimeOutData = 200;
CLUSPROP_DWORD JobCompletionTimeOutValue;

JobCompletionTimeOutValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
JobCompletionTimeOutValue.cbLength = sizeof(DWORD);
JobCompletionTimeOutValue.dw = JobCompletionTimeOutData;

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter

See also

Print Spooler Private Properties

CLUSPROP_DWORD