Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
For scripting, gets or sets a query string that identifies the event that fires the trigger.
Syntax
EventTrigger.Subscription As String
Property value
A query string that identifies the event that fires the trigger.
Remarks
When reading or writing your own XML for a task, the event subscription is specified using the Subscription element of the Task Scheduler schema.
For more information about writing a query string for certain events, see Event Selection and Subscribing to Events.
Examples
The following query string defines a subscription to all level 2 events in the System channel:
"<QueryList>
<Query Id='1'>
<Select Path='System'>*[System/Level=2]</Select>
</Query>
</QueryList>"
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows Vista [desktop apps only] |
| Minimum supported server |
Windows Server 2008 [desktop apps only] |
| Type library |
|
| DLL |
|