ITsSbResourcePluginStore::GetServerState method (sbtsv.h)

Retrieves the state of a specified server.

Syntax

HRESULT GetServerState(
  [in]  BSTR         PoolName,
  [in]  BSTR         ServerFQDN,
  [out] TARGET_STATE *pState
);

Parameters

[in] PoolName

Name of the pool.

[in] ServerFQDN

Fully qualified domain name (FQDN) of the server.

[out] pState

On return, points to the state of the server.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2016
Target Platform Windows
Header sbtsv.h

See also

ITsSbResourcePluginStore