共用方式為


NoAutomaticRecomputation 屬性

Gets or sets the Boolean property value that specifies whether statistics are regenerated when an index is created.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property NoAutomaticRecomputation As Boolean
    Get
    Set
'用途
Dim instance As Index
Dim value As Boolean

value = instance.NoAutomaticRecomputation

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

屬性值

型別:System. . :: . .Boolean
A Boolean value that specifies whether the index is recomputed automatically.
If True, the index is recomputed automatically. Otherwise, False (default).

備註

[!附註]

For indexes based on the UserDefinedTableType object the value of the IsXmlIndex property is always the default value and is ignored if the user attempts to set it.