MSBTS_HostInstance.GetState Method (WMI)
Retrieves the state of the given instance of the BizTalk host.
Method Declaration
The syntax shown is language neutral.
uint32 GetState(
[out] uint32 State
);
Parameters
State
[out] Integer describing the state of the BizTalk host instance.
Remarks
The following table contains the possible values for the State parameter:
Description | Value |
---|---|
Stopped | 1 |
Start pending | 2 |
Stop pending | 3 |
Running | 4 |
Unknown | 8 |
Note that the integer values must be used in code and script.
For samples illustrating the MSBTS_HostInstance class, see WMI Script Samples.
Requirements
Header: Declared in BTSWMISchemaXP.mof.
Namespace: Included in \root\MicrosoftBizTalkServer.