Partager via


Propriété Index.NoAutomaticRecomputation

Gets or sets the Boolean property value that specifies whether statistics are regenerated when an index is created.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design Or SfcPropertyFlags.Deploy)> _
Public Property NoAutomaticRecomputation As Boolean 
    Get 
    Set
'Utilisation
Dim instance As Index 
Dim value As Boolean 

value = instance.NoAutomaticRecomputation

instance.NoAutomaticRecomputation = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Deploy)]
public bool NoAutomaticRecomputation { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design|SfcPropertyFlags::Deploy)]
public:
property bool NoAutomaticRecomputation {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Deploy)>]
member NoAutomaticRecomputation : bool with get, set
function get NoAutomaticRecomputation () : boolean 
function set NoAutomaticRecomputation (value : boolean)

Valeur de propriété

Type : System.Boolean
A Boolean value that specifies whether the index is recomputed automatically.If True, the index is recomputed automatically. Otherwise, False (default).

Notes

[!REMARQUE]

For indexes based on the UserDefinedTableType object the value of the IsXmlIndex property is always the default value and is ignored if the user attempts to set it.

Exemples

Création, modification et suppression d'index

Voir aussi

Référence

Index Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Index

CREATE INDEX (Transact-SQL)