Freigeben über


Statistic.IsAutoCreated-Eigenschaft

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

Eigenschaftswert

Typ: 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.

Beispiele

Erstellen und Aktualisieren von Statistiken

Siehe auch

Verweis

Statistic Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

CREATE STATISTICS (Transact-SQL)