ITsSbProvider::CreateLoadBalanceResultObject method (sbtsv.h)

Creates an ITsSbLoadBalanceResult load-balancing result object.

Syntax

HRESULT CreateLoadBalanceResultObject(
  [in]  BSTR                   TargetName,
  [out] ITsSbLoadBalanceResult **ppLBResult
);

Parameters

[in] TargetName

A BSTR variable that contains the target name.

[out] ppLBResult

A pointer to a pointer to an ITsSbLoadBalanceResult object. When you have finished using the object, release it by calling the Release method.

Return value

This method can return one of these values.

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT value that indicates the error. Possible values include, but are not limited to, those in the following list.

Remarks

Plug-ins can use this method to create a load-balancing result object.

Requirements

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

See also

ITsSbLoadBalanceResult

ITsSbProvider