Partilhar via


Propriedade HasFilter

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute> _
Public ReadOnly Property HasFilter As Boolean
    Get
'Uso
Dim instance As Index
Dim value As Boolean

value = instance.HasFilter
[SfcPropertyAttribute]
public bool HasFilter { get; }
[SfcPropertyAttribute]
public:
property bool HasFilter {
    bool get ();
}
[<SfcPropertyAttribute>]
member HasFilter : bool
function get HasFilter () : boolean

Valor da propriedade

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

Comentários

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