Share via


MiningModel.Filter Property

Gets or sets the filter expression associated with the mining model.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<TypeConverterAttribute(GetType(StringConverter))> _
Public Property Filter As String
    Get
    Set
'Usage
Dim instance As MiningModel
Dim value As String

value = instance.Filter

instance.Filter = value
[TypeConverterAttribute(typeof(StringConverter))]
public string Filter { get; set; }
[TypeConverterAttribute(typeof(StringConverter))]
public:
property String^ Filter {
    String^ get ();
    void set (String^ value);
}
[<TypeConverterAttribute(typeof(StringConverter))>]
member Filter : string with get, set
function get Filter () : String
function set Filter (value : String)

Property Value

Type: System.String
A String that contains the filter expression. For more information about filters that can apply to mining models, see Model Filter Syntax and Examples (Analysis Services - Data Mining).