Partager via


CreateSessionManager Method

 

Returns an ISessionManager Interface as the initial interface for integrating Microsoft Visual Studio Tools for Applications 2012.

Syntax

HRESULT CreateSessionManager(BSTR bstrApplicationName,IOptions* pOptions,ISessionManager** ppSessionManager);

Parameters

bstrApplicationName

[in] The name of the hosting application.

pOptions

[in] A pointer to the IOptions Interface for configuring the ISessionManager Interface. The option names and values are defined in vsta.h.

ppSessionManager

[out, retval] Created instance of ISessionManager.

Return Value

One of the standard HRESULT values.

Remarks

This method is defined in the file vsta.h.

Requirements

DLL

VstaCore.dll

Library

VstaCore.lib

Header

Vsta.h

See Also

Functions (VSTA)