Statistic.NoAutomaticRecomputation 属性

Gets or sets the Boolean property value that specifies whether the statistics counter recomputed automatically.

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

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property NoAutomaticRecomputation As Boolean 
    Get 
    Set
用法
Dim instance As Statistic 
Dim value As Boolean 

value = instance.NoAutomaticRecomputation

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

属性值

类型:System.Boolean
A Boolean value that specifies whether the statistics counter recomputed automatically.If True, the statistics counter is not recomputed automatically.If False (default), the statistics counter is recomputed automatically.

示例

创建和更新统计信息

请参阅

参考

Statistic 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

CREATE STATISTICS (Transact-SQL)