Share via


Index.FilterDefinition Property

Gets or sets the String value that contains the definition for the filter.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property FilterDefinition As String
    Get
    Set
'Usage
Dim instance As Index
Dim value As String

value = instance.FilterDefinition

instance.FilterDefinition = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string FilterDefinition { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ FilterDefinition {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member FilterDefinition : string with get, set
function get FilterDefinition () : String
function set FilterDefinition (value : String)

Property Value

Type: System.String
A String value that specifies the definition of the filter.

Remarks

The required format for the filter predicate is specified in the CREATE INDEX topic.