Udostępnij przez


Index.HasFilter Property

Gets the Boolean property value that specifies whether the index has a filter defined for a range of index values.

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

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public ReadOnly Property HasFilter As Boolean
[SfcPropertyAttribute] 
public bool HasFilter { get; }
[SfcPropertyAttribute] 
public:
property bool HasFilter {
    bool get ();
}
/** @property */
public boolean get_HasFilter ()
public function get HasFilter () : boolean

Property Value

A Boolean value that specifies whether the index has a filter. If True, the index has a filter. Otherwise, False (default).

Remarks

The filter is defined by the filter predicate in the FilterDefinition property.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.