GetSessionValue method

Returns the specified eRoom session variable.

Syntax


C++

HRESULT GetSessionValue(
   BSTR MyName,
   LONG MyValueType,
   VARIANT* pValue)

Scripting languages

SessionValue = Object.GetSessionValue(
   
Name as String,
   ValueType as Long)

Parameters


MyName

The name of the eRoom session variable.

MyValueType

The type of value being retrieved. (STRING = 0, LONG = 1. Default is 0; if the value is numeric, 1 must be specified.)

pValue

Upon return, a VARIANT containing the value.

Return value


C++

The return code.

Scripting languages

Upon return, a VARIANT containing the value.

 

Home

Applies to

IERUCustomParameters

IERUSession