MiningModel.Filter Property

 

Applies To: SQL Server 2016 Preview

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

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

Syntax

[XmlElementAttribute(Namespace = "https://schemas.microsoft.com/analysisservices/2008/engine/100/100")]
[TypeConverterAttribute(typeof(StringConverter))]
[EditorAttribute("Microsoft.AnalysisServices.Design.FilterPropertyTypeEditor, Microsoft.AnalysisServices.Design", 
    typeof(UITypeEditor))]
[DefaultValueAttribute(null)]
public string Filter { get; set; }
public:
[XmlElementAttribute(Namespace = "https://schemas.microsoft.com/analysisservices/2008/engine/100/100")]
[TypeConverterAttribute((StringConverter^::typeid))]
[EditorAttribute("Microsoft.AnalysisServices.Design.FilterPropertyTypeEditor, Microsoft.AnalysisServices.Design", 
    (UITypeEditor^::typeid))]
[DefaultValueAttribute(null)]
property String^ Filter {
    String^ get();
    void set(String^ value);
}
[<XmlElementAttribute(Namespace = "https://schemas.microsoft.com/analysisservices/2008/engine/100/100")>]
[<TypeConverterAttribute(typeof(StringConverter))>]
[<EditorAttribute("Microsoft.AnalysisServices.Design.FilterPropertyTypeEditor, Microsoft.AnalysisServices.Design",
    typeof(UITypeEditor))>]
[<DefaultValueAttribute(null)>]
member Filter : string with get, set
<XmlElementAttribute(Namespace := "https://schemas.microsoft.com/analysisservices/2008/engine/100/100")>
<TypeConverterAttribute(GetType(StringConverter))>
<EditorAttribute("Microsoft.AnalysisServices.Design.FilterPropertyTypeEditor, Microsoft.AnalysisServices.Design",
    GetType(UITypeEditor))>
<DefaultValueAttribute(Nothing)>
Public Property Filter As String

Property Value

Type: System.String

The filter expression.

Remarks

For more information about filters that can apply to mining models, see Model Filter Syntax and Examples (Analysis Services - Data Mining).

See Also

MiningModel Class
Microsoft.AnalysisServices Namespace

Return to top