IViewPropertyDef Interface

Meta Data Services Programming

Meta Data Services Programming

IViewPropertyDef Interface

The IViewPropertyDef interface defines a custom name that you can use to override the default column name of a view. This interface is derived from IRepositoryDispatch, which inherits from IDispatch and is implemented by the PropertyDef class.

The same view column can appear in multiple views. In each case, the view column name that you define is the same for all occurrences. For example, a view that supports implied interfaces or that is based on an inherited interface includes members from multiple interfaces, creating a case where a single column can appear more than once.

When to Use

Use this interface to define the column name of a property in the view. This prevents name-space collisions and allows for column renaming for better readability in an SQL query statement.

Properties
Property Type Description
ViewColumnName string Customized view name for better readability and to help prevent name-space collisions.

A view column name can be a maximum of 128 characters in length. The default value is null.

Dispatch Identifier:   DISPID_IViewInterfaceDef (385)

See Also

IViewClassDef Interface

IViewInterfaceDef Interface

IViewRelationshipDef Interface

PropertyDef Object