Export (0) Print
Expand All
Expand Minimize

IDatabaseOptions.AutoCreateStatisticsEnabled Property

Gets or sets a Boolean property value that specifies whether the AUTOCREATESTATISTICS database option is active.

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

[DisplayDescriptionKeyAttribute("Database_AutoCreateStatisticsEnabledDesc")]
[DisplayNameKeyAttribute("Database_AutoCreateStatisticsEnabledName")]
bool AutoCreateStatisticsEnabled { get; set; }

Property Value

Type: Boolean
A Boolean value that specifies whether the AUTOCREATESTATISTICS database option is active.If True, statistics are automatically created.If False (default), statistics are not automatically created.

This property specifies whether statistics are automatically created for a database.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft