Proprietà AutoUpdateStatisticsEnabled
Specifies whether database statistics are automatically updated.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<DisplayNameKeyAttribute("Database_AutoUpdateStatisticsEnabledName")> _
<DisplayDescriptionKeyAttribute("Database_AutoUpdateStatisticsEnabledDesc")> _
Property AutoUpdateStatisticsEnabled As Boolean
Get
Set
'Utilizzo
Dim instance As IDatabaseOptions
Dim value As Boolean
value = instance.AutoUpdateStatisticsEnabled
instance.AutoUpdateStatisticsEnabled = value
[DisplayNameKeyAttribute("Database_AutoUpdateStatisticsEnabledName")]
[DisplayDescriptionKeyAttribute("Database_AutoUpdateStatisticsEnabledDesc")]
bool AutoUpdateStatisticsEnabled { get; set; }
[DisplayNameKeyAttribute(L"Database_AutoUpdateStatisticsEnabledName")]
[DisplayDescriptionKeyAttribute(L"Database_AutoUpdateStatisticsEnabledDesc")]
property bool AutoUpdateStatisticsEnabled {
bool get ();
void set (bool value);
}
[<DisplayNameKeyAttribute("Database_AutoUpdateStatisticsEnabledName")>]
[<DisplayDescriptionKeyAttribute("Database_AutoUpdateStatisticsEnabledDesc")>]
abstract AutoUpdateStatisticsEnabled : bool with get, set
function get AutoUpdateStatisticsEnabled () : boolean
function set AutoUpdateStatisticsEnabled (value : boolean)
Valore proprietà
Tipo: System. . :: . .Boolean
A Boolean value indicating whether statistics are updated automatically. If True, statistics are updated. Otherwise, False.
Vedere anche