ITsSbResourcePluginStore::AddSessionToStore method

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(
  ITsSbSession *pSession
);

Parameters

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

   
Windows version None supported Windows Server 2012
Target Platform Windows
Header sbtsv.h

See Also

ITsSbResourcePluginStore

ITsSbResourcePluginStoreEx

ITsSbSession