Bitsadmin /setnotifyflags |
Applies To: Windows Vista,Windows Server 2008,Windows Server 2008 R2
Sets the event notification flags for the specified job.
Syntax
Copy Code |
|
bitsadmin /SetNotifyFlags <Job> <NotifyFlags> |
Parameters
Parameter |
Description |
Job |
The job's display name or GUID |
NotifyFlags |
See Remarks |
Remarks
The NotfiyFlags parameter can contain one or more of the following notification flags.
1 |
Generate an event when all files in the job have been transferred. |
2 |
Generate an event when an error occurs. |
4 |
Disable notifications. |
Examples
The following example sets the notify flags for transferred and error events job for job named myDownloadJob.
Copy Code |
|
C:\>bitsadmin /SetNotifyFlags myDownloadJob 3 |