TechNet
Export (0) Print
Expand All

DatabaseOptions.AutoCreateStatistics 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)

[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool AutoCreateStatistics { get; set; }

Property Value

Type: System.Boolean

Boolean value that specifies whether the AUTOCREATESTATISTICS database option is active.

If True, statistics are automatically created. Otherwise, False (default).

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

Return to top
Show:
© 2016 Microsoft