共用方式為


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)