다음을 통해 공유


JoinClause (MDStore Interface)

[!참고]

  이 기능은 다음 버전의 Microsoft SQL Server에서 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.

The JoinClause property of the MDStore interface contains the list of join conditions currently defined for an MDStore object.

Applies To:clsAggregation, clsCube (excluding virtual cubes), clsPartition

Data Type

String

Access

Read/write

주의

The JoinClause property stores the list of join conditions for the data source in the format used to define an SQL INNER JOIN clause for the data source provider.

[!참고]

  You must separate the table and column names with the delimiters that are appropriate to the source database. You can use the CloseQuoteChar and OpenQuoteChar properties of the DataSource object to determine the correct quoting characters.

    ' Assume the existence of a clsCube object named dsoCube.
    dsoCube.JoinClause = """FactTable"".""CustomerId""=" & _
        """CustTable"".""CustomerId"" AND " & _
        """FactTable"".""ProductId""=""ProductTable"".""SKU"""

The previous code example sets the JoinClause property to the following string:

"FactTable"."CustomerId"="CustTable"."CustomerId" AND "FactTable"."ProductId"="ProductTable"."SKU"

참고 항목

참조