Index.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(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design Or SfcPropertyFlags.Deploy)> _
Public Property NoAutomaticRecomputation As Boolean
Get
Set
用法
Dim instance As Index
Dim value As Boolean
value = instance.NoAutomaticRecomputation
instance.NoAutomaticRecomputation = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Deploy)]
public bool NoAutomaticRecomputation { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design|SfcPropertyFlags::Deploy)]
public:
property bool NoAutomaticRecomputation {
bool get ();
void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Deploy)>]
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. |
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间