Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 17th, 2006, 03:55 AM
Registered User
 
Join Date: Feb 2006
Location: Oslo, , Norway.
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 :)

Reply With Quote
  #2 (permalink)  
Old February 18th, 2006, 12:32 AM
Friend of Wrox
Points: 4,332, Level: 27
Points: 4,332, Level: 27 Points: 4,332, Level: 27 Points: 4,332, Level: 27
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

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

Reply With Quote
  #3 (permalink)  
Old February 26th, 2006, 11:10 AM
Registered User
 
Join Date: Feb 2006
Location: Oslo, , Norway.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Should also be to underscores __ before the InstanceModificationEvent

Reply With Quote
  #4 (permalink)  
Old July 3rd, 2013, 01:37 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2013
Location: chennai
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to cecil
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..
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 03: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 11:37 AM
File System Watcher hugh@kmcnetwork.com VB.NET 12 June 4th, 2004 07:29 AM



All times are GMT -4. The time now is 07:51 PM.


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