Share via


SourceColumn (clsMemberProperty)

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

The SourceColumn property of an object of ClassType clsMemberPropertycontains a reference to the column in the dimension table that contains values for the member property.

Data Type

String

Access

Read/write

Examples

Use the following code to specify the SourceColumn for a new object of ClassType clsMemberProperty:

'Assume an object (dsoLevel) of ClassType clsDimensionLevel exists.
' Create a member property containing the name of the store manager.
Dim dsoMemProp As DSO.MemberProperty
Set dsoMemProp = dsoLevel.MemberProperties.AddNew("Store Manager")
'Set the column which contains the names of the managers.
dsoMemProp.SourceColumn = """store"".""store_manager""" 

See Also

Reference