Compartir a través de


HasFilter Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property HasFilter As Boolean
    Get
'Uso
Dim instance As Index
Dim value As Boolean

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

Valor de la propiedad

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

Comentarios

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