SourceTable (Dimension Interface)
[!참고]
이 기능은 다음 버전의 Microsoft SQL Server에서 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.
The SourceTable property of the Dimension interface contains the name of a dimension object's primary source table.
Applies To:clsCubeDimension, clsDatabaseDimension, clsPartitionDimension
Data Type
String
Access
Read-only
주의
This property returns the name of the source table associated with the lowest level in the dimension. For example, if your cube has a dimension called Product, and the dimension has levels called ProductCategory, ProductSubCategory, and ProductName, with ordinal positions 1, 2, and 3, respectively, the SourceTable property for the Product dimension returns the name of the source table associated with level ProductName.
예
Use the following code to obtain the name of the source table associated with level ProductName in dimension Product:
'Assume an object (dsoDim) of ClassType clsDimension exists.
If dsoDim.SourceTable = "Product" Then
'Insert code to handle the dimension.
End If