Platform SDK: CDO 1.2.1

Source Property (TableView Object)

The Source property returns the type of this table view. Read-only.

Syntax

objTableView.Source

Data Type

Long

Remarks

The Source property indicates the source of the definition of the table view. It can have exactly one of the following values:

Table view
source
Decimal
value

Meaning
CdoViewCommon 0 This table view is predefined globally for all folders and all messaging users.
CdoViewCustom 2 This table view has been defined in the context of the current setting of the DataSource property of the ContainerRenderer object. However, it is still available when the DataSource property is changed.
CdoViewFolder 3 This table view is predefined for the particular folder currently being rendered. It is no longer available when the DataSource property is changed.
CdoViewPersonal 1 This table view is predefined for the messaging user associated with the current session represented by the Session object.

For more information on table view rendering, see Rendering Container Objects.