Statistic.NoAutomaticRecomputation Property

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

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 Property NoAutomaticRecomputation As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

Examples

Creating and Updating Statistics

See Also

Reference

Statistic Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE STATISTICS (Transact-SQL)