Statistic.IsAutoCreated Property
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
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsAutoCreated As Boolean
Get
'Usage
Dim instance As Statistic
Dim value As Boolean
value = instance.IsAutoCreated
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool IsAutoCreated { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool IsAutoCreated {
bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member IsAutoCreated : bool
function get IsAutoCreated () : 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
Creating and Updating Statistics
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace