p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   SQL Server 2005 (http://p2p.wrox.com/forumdisplay.php?f=220)
-   -   Integration Services WMI Event Watcher Task (http://p2p.wrox.com/showthread.php?t=38619)

Harald February 17th, 2006 04:55 AM

Integration Services WMI Event Watcher Task
 
Hi,
Anybody got a nice WQL script for checking if a file has arrived and are ready for further processing???

Something like:

Select * from _InstanceModificationEvent where targeinstance isa 'CIM_DataFile and targetinstance.name = 'C:\\Temp\\Test.txt'

but this one gets a parsing error :)


jbenson001 February 18th, 2006 01:32 AM

http://msdn2.microsoft.com/en-us/library/ms141130.aspx


Harald February 26th, 2006 12:10 PM

Should also be to underscores __ before the InstanceModificationEvent


cecil July 3rd, 2013 01:37 AM

wmi event watcher with variables
 
please some one share the example with WMI EVENT WATCHER USING VARIABLES....

I tried..it is showing invalid parameter..


All times are GMT -4. The time now is 09:18 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.