Statistic.IsAutoCreated 属性

Gets the Boolean property value that specifies whether the statistic counter is automatically created.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsAutoCreated As Boolean 
    Get
用法
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

属性值

类型: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.

示例

创建和更新统计信息

请参阅

参考

Statistic 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

CREATE STATISTICS (Transact-SQL)