Statistic.IsAutoCreated Property
Applies To: SQL Server 2016 Preview
Gets the Boolean property value that specifies whether the statistic counter is automatically created.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Matrix)]
public bool IsAutoCreated { get; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::SqlAzureDatabase | SfcPropertyFlags::Matrix)]
property bool IsAutoCreated {
bool get();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Matrix)>]
member IsAutoCreated : bool with get
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Matrix)>
Public ReadOnly Property IsAutoCreated As Boolean
Property Value
Type: System.Boolean
A Boolean value that specifies whether the statistic counter is automatically created.
If True, the statistic counter is created automatically.
If False (default), the statistic counter is created manually.
Examples
Legacy Code Example
Creating and Updating Statistics
See Also
Statistic Class
Microsoft.SqlServer.Management.Smo Namespace
CREATE STATISTICS (Transact-SQL)
Return to top