# MTSessionProp

Interface that describes a session property.

## Program ID

MetraPipeline.MTSessionProp.1

## MTSessionProp Properties

Name | Name of property.
Name ID | Name ID of property. This is exactly as if GetNameID was called on the Name property.
Type | The type of the property.

## Example

Example to be provided in a future release of this online help system.

# Property Detail

## Name

Name of the property.

This is a read-only property.

### Visual Basic Syntax

Property Name As String

### C++ Syntax

HRESULT Name([out, retval] BSTR *pVal);

### Return Value

The name of the property.

## NameID

Name ID of the property. This is exactly as if GetNameID was called on the Name property.

This is a read-only property.

### Visual Basic Syntax

Property NameID As Long

### C++ Syntax

HRESULT NameID([out, retval] long *pVal);

### Return Value

The property's name ID.

## Type

The type of property.

This is a read-only property.

### Visual Basic Syntax

Property Type As MTSessionPropType

### C++ Syntax

HRESULT Type([out, retval] MTSessionPropType *pVal);

### Return Value

The property's type.

# Enumerated Types Detail

## MTSessionPropType

SESS_PROP_TYPE_DATE = 1
SESS_PROP_TYPE_TIME = 2
SESS_PROP_TYPE_STRING = 3
SESS_PROP_TYPE_LONG = 4
SESS_PROP_TYPE_DOUBLE = 5
SESS_PROP_TYPE_BOOL = 6
SESS_PROP_TYPE_ENUM = 7
SESS_PROP_TYPE_DECIMAL = 8