ITsSbResourcePluginStore::AddSessionToStore method (sbtsv.h)

Adds a new session to the resource plug-in store. Call this method when a user has logged on to a new session.

Syntax

HRESULT AddSessionToStore(
  [in] ITsSbSession *pSession
);

Parameters

[in] pSession

A pointer to an ITsSbSession session object. The target name, user name, domain name, and session ID are required fields.

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 2012
Target Platform Windows
Header sbtsv.h

See also

ITsSbResourcePluginStore

ITsSbResourcePluginStoreEx

ITsSbSession