BIZTALK AND WMI
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > BIZTALK AND WMI




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    BIZTALK AND WMI  
Ximena Cifuentes


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-30-04 10:52 PM

I'm tryin to get a list of receive functions in a BTS remote server by using
WMI and the next script

'Dim oLocator, oServices, oRcvFunction, oRcvFunctionInstance
'oLocator = CreateObject("WbemScripting.SWbemLocator")
'oServices = oLocator.ConnectServer("BTSSERVER",
"root/MicrosoftBizTalkServer", "TRANSAR\Biztalk", "MSIOMEGA")
'oRcvFunction =
oServices.Get("MicrosoftBizTalkServer_ReceiveFunction")



'For Each oRcvFunctionInstance In oRcvFunction.Instances_
'    With oRcvFunctionInstance
'        .DisableReceiveFunction = False
'        .Put_(1)  'wbemChangeFlagUpdateOnly
'    End With
'Next

But, when the oRcvFunction.Instances_ is called there's an COM interop
exception.
Is there something else I need to install at server in order to communicate
with the server using WMI ?





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:07 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register