Поделиться через


Свойство FilterComponent

Gets or sets an MDX expression that defines the slice of the source cube that is used for the mining structure.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
<BrowsableAttribute(False)> _
Public Property FilterComponent As String
    Get
    Set
'Применение
Dim instance As MiningStructure
Dim value As String

value = instance.FilterComponent

instance.FilterComponent = value
[BrowsableAttribute(false)]
public string FilterComponent { get; set; }
[BrowsableAttribute(false)]
public:
property String^ FilterComponent {
    String^ get ();
    void set (String^ value);
}
[<BrowsableAttribute(false)>]
member FilterComponent : string with get, set
function get FilterComponent () : String
function set FilterComponent (value : String)

Значение свойства

Тип System. . :: . .String
A String containing an MDX expression.

Замечания

If you create a mining structure that is based on an OLAP data source, you must define the source cube by creating an MDX expression. After you have defined the source cube, you can add an additional MDX expression as a filter to restrict the information in the cube to only a relevant slice. Therefore, the FilterComponent expression applies only to the source cube. For information about how to define a slice by using MDX, see Выражения куба и вложенного куба.