Skip to Content
Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide
book

Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide

by Ed Wilson
October 2005
Beginner to intermediate
400 pages
12h 42m
English
Microsoft Press
Content preview from Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide
96 Part II: WMI Queries and Events
SWbemSink
SWbemSink is used by client applications to receive the results of either an asynchronous oper-
ation or an event notification. If you need to perform an asynchronous WMI query, first you
must create an instance of the SWbemSink object and then pass it as a parameter to the query.
If you are creating an event notification script, the SWbemSink object is triggered when either
a status update or a result is returned. Only one method is available with the SWbemSink
object, the Cancel method. Four properties, listed in Table 4-4, can be used with this object.
Table 4-4 SWbemSink Properties
Event
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Windows® Scripting Self-Paced Learning Guide

Microsoft® Windows® Scripting Self-Paced Learning Guide

Ed Wilson

Publisher Resources

ISBN: 0735622310Catalog PageErrata