ITsSbResourceNotification::NotifySessionChange method (sbtsv.h)
Notifies registered plug-ins about state changes in a session object.
Syntax
HRESULT NotifySessionChange(
[in] TSSESSION_STATE changeType,
[in] ITsSbSession *pSession
);
Parameters
[in] changeType
The type of change that occurred.
[in] pSession
A pointer to a session object. This object is a copy of the object present in the RD Connection Broker store. Any changes to this object do not affect the object in the store.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
RD Connection Broker calls the NotifySessionChange method to notify registered plug-ins about state changes in a session object. For example, RD Connection Broker calls this method when a new session is added to the resource plug-in store as a result of a session logon.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | sbtsv.h |