MSBTS_HostInstance.Stop Method (WMI)
Stops the given instance of the BizTalk host.
The syntax shown is language neutral.
uint32 StopService();
This method returns an HRESULT indicating whether the method completed successfully.
For more information about the minimum security user rights required to administer a Host instance, see Minimum Security User Rights.
Note
Always specify the name of the local server when using WMI. When you enumerate host instances, both local and remote instances will be returned. You can then call the start or stop methods.
For samples illustrating the MSBTS_HostInstance class, see WMI Script Samples.
Header: Declared in BTSWMISchemaXP.mof.
Namespace: Included in \root\MicrosoftBizTalkServer.