ITsSbPlacement::QueryEnvironmentForTarget method (sbtsv.h)
Determines whether the specified environment is ready to host the target that was returned by load balancing.
HRESULT QueryEnvironmentForTarget( ITsSbClientConnection *pConnection, ITsSbPlacementNotifySink *pPlacementSink );
A pointer to an ITsSbClientConnection client connection object.
A pointer to an ITsSbPlacementNotifySink placement sink object.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Your plug-in should use the ITsSbPlacementNotifySink object to report the state of the environment to Remote Desktop Connection Broker (RD Connection Broker).
After RD Connection Broker receives a load-balancing result, it calls QueryEnvironmentForTarget to determine whether the environment is present and ready.
|Minimum supported client||None supported|
|Minimum supported server||Windows Server 2012|