ms newsgroup里面有人问,如何清除suspended, active, and dehydrated的消息
有人这么回答的--
"You could write a simple WMI script to find all of the suspended messages
and terminate them.
Write a query for ServiceInstance objects with their service status set to
what you want and then walk through them and call terminate. See the WMI
class reference in the SDK for specifics of using these objects.
biztalk will not clean these up automatically for you because they are
generally error conditions that you need to deal with"
WMI是什么,以前一直不知道,早上稍微看了下,找了个引用,来个quick view
http://blog.vckbase.com/abbey/articles/244.aspx
下面一份虽然是2000的东西,原理肯定还是一样的
WMI in Microsoft BizTalk Server2000
还有
BizTalk Server 2002 WMI Programming in Microsoft .NET Framework