Statistic.IsFromIndexCreation Property

Gets the Boolean property value that specifies whether the statistic counter was generated from the creation of an index.

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 IsFromIndexCreation As Boolean 
    Get
'Usage
Dim instance As Statistic 
Dim value As Boolean 

value = instance.IsFromIndexCreation
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool IsFromIndexCreation { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool IsFromIndexCreation {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member IsFromIndexCreation : bool
function get IsFromIndexCreation () : boolean

Property Value

Type: System.Boolean
A Boolean value that specifies whether the statistic counter was generated from the creation of an index.If True, the statistic counter was generated from the creation of an index.If False (default), the statistic counter was not generated from the creation of an index.

Examples

Creating and Updating Statistics

See Also

Reference

Statistic Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE STATISTICS (Transact-SQL)