Udostępnij przez


Elementu SourceColumn (clsMemberProperty)

Ostrzeżenie

  Ta funkcja zostanie usunięta z następnej wersji programu Microsoft SQL Server. Nie należy stosować tej funkcji w nowych projektach oraz jak najszybciej należy zmodyfikować aplikacje, w których obecnie jest używana ta funkcja.

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.

Typ danych

String

Dostęp

Odczyt i zapis

Przykłady

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

Zobacz także

Odwołanie