SourceTableFilter (MDStore Interface)

[!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 SourceTableFilter property of the MDStore interface contains the WHERE clause of an SQL statement (without the WHERE keyword) used to determine which fact table records are to be included in the MDStore object.

Applies To:clsCube (excluding virtual cubes), clsPartition

Data Type

String

Access

Read/write

Notes

The SQL statement can contain multiple conditions, for example:

"time_by_day"."the_year" = '1997' AND "product"."product_id" = 'soap' 

[!REMARQUE]

  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.