Compartilhar via


Propriedade do RDL IDatabaseOptions.AutoUpdateStatisticsEnabled

Specifies whether database statistics are automatically updated.

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

Sintaxe

'Declaração
<DisplayDescriptionKeyAttribute("Database_AutoUpdateStatisticsEnabledDesc")> _
<DisplayNameKeyAttribute("Database_AutoUpdateStatisticsEnabledName")> _
Property AutoUpdateStatisticsEnabled As Boolean 
    Get 
    Set
'Uso
Dim instance As IDatabaseOptions 
Dim value As Boolean 

value = instance.AutoUpdateStatisticsEnabled

instance.AutoUpdateStatisticsEnabled = value
[DisplayDescriptionKeyAttribute("Database_AutoUpdateStatisticsEnabledDesc")]
[DisplayNameKeyAttribute("Database_AutoUpdateStatisticsEnabledName")]
bool AutoUpdateStatisticsEnabled { get; set; }
[DisplayDescriptionKeyAttribute(L"Database_AutoUpdateStatisticsEnabledDesc")]
[DisplayNameKeyAttribute(L"Database_AutoUpdateStatisticsEnabledName")]
property bool AutoUpdateStatisticsEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayDescriptionKeyAttribute("Database_AutoUpdateStatisticsEnabledDesc")>]
[<DisplayNameKeyAttribute("Database_AutoUpdateStatisticsEnabledName")>]
abstract AutoUpdateStatisticsEnabled : bool with get, set
function get AutoUpdateStatisticsEnabled () : boolean 
function set AutoUpdateStatisticsEnabled (value : boolean)

Valor da propriedade

Tipo: System.Boolean
A Boolean value indicating whether statistics are updated automatically. If True, statistics are updated. Otherwise, False.

Consulte também

Referência

IDatabaseOptions Interface

Namespace Microsoft.SqlServer.Management.Smo