Partager via


SourceColumn (clsMemberProperty)

[!REMARQUE]

  Cette fonctionnalité sera supprimée dans la prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.

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""" 

Voir aussi

Référence