Udostępnij przez


SourceTableAlias (elementu MDStore Interface)

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.

SourceTableAlias Właściwość MDStore alias zawiera interfejs źródło tabela dla moduł lub partycji.

Stosuje się do:clsCube, clsPartition

Typ danych

String

Dostęp

-Odczyt

Uwagi

Jeśli źródło tabela ma żaden alias, zawartość tej właściwość są identyczne z SourceTable właściwość.

Przykłady

Ustawienie właściwości elementu SourceTable aliasu i elementu SourceTable

W poniższym przykładzie jak zestaw SourceTable i SourceTableAlias Właściwości:

' Assume that an MDStore object dsoCube exists
' If the FromClause property for the cube is:
' "customer, store, sales_fact_1997 AS Sales"
' Set the SourceTable property to the actual name of the table
dsoCube.SourceTable = "sales_fact_1997"
' And set the SourceTableAlias property to the name of the alias
dsoCube.SourceTableAlias = "Sales"

Zobacz także

Odwołanie