MSBTS_HostInstance.Stop Method (WMI)

 

Stops the given instance of the BizTalk host.

Method Declaration

The syntax shown is language neutral.

uint32 StopService();  

Return Value

This method returns an HRESULT indicating whether the method completed successfully.

Remarks

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.

Requirements

Header: Declared in BTSWMISchemaXP.mof.

Namespace: Included in \root\MicrosoftBizTalkServer.