Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
|
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 17th, 2006, 04:55 AM
Registered User
 
Join Date: Feb 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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 :)

 
Old February 18th, 2006, 01:32 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

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

 
Old February 26th, 2006, 12:10 PM
Registered User
 
Join Date: Feb 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Should also be to underscores __ before the InstanceModificationEvent

 
Old July 3rd, 2013, 01:37 AM
Registered User
 
Join Date: Jul 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default wmi event watcher with variables

please some one share the example with WMI EVENT WATCHER USING VARIABLES....

I tried..it is showing invalid parameter..





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add task in Scheduled Task programatically amitjoshipune C# 2 July 31st, 2008 05:42 AM
Chptr 16 WMI Event Watcher Task Example GeorgeLapin BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 0 February 14th, 2007 04:14 PM
WMI Event Watcher for Service Monitoring deepumi SQL Server 2005 1 June 2nd, 2006 05:08 AM
Execute Task from ActiveX Script Task PorcupineRabbit SQL Server DTS 1 January 10th, 2006 12:37 PM
File System Watcher hugh@kmcnetwork.com VB.NET 12 June 4th, 2004 07:29 AM





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