你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RecommendedIndex 类

定义

表示数据库建议的索引。

[Microsoft.Rest.Serialization.JsonTransformation]
public class RecommendedIndex : Microsoft.Azure.Management.Sql.Fluent.Models.ProxyResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type RecommendedIndex = class
    inherit ProxyResourceInner
Public Class RecommendedIndex
Inherits ProxyResourceInner
继承
属性

构造函数

RecommendedIndex()

初始化 RecommendedIndex 类的新实例。

RecommendedIndex(String, String, String, Nullable<RecommendedIndexAction>, Nullable<RecommendedIndexState>, Nullable<DateTime>, Nullable<DateTime>, Nullable<RecommendedIndexType>, String, String, IList<String>, IList<String>, String, IList<OperationImpact>, IList<OperationImpact>)

初始化 RecommendedIndex 类的新实例。

属性

Action

获取建议的索引操作。 可以创建缺失的索引、删除未使用的索引或重新生成现有索引以提高其性能。 可能的值包括:“Create”、“Drop”、“Rebuild”

Columns

获取要为其生成索引的列

Created

获取显示此资源的创建时间的 UTC 日期时间 (ISO8601 格式) 。

EstimatedImpact

获取执行建议的索引操作的估计影响。

Id

资源 ID。Setter 受保护,因为需要在网络资源中设置 ID。

(继承自 ProxyResource)
IncludedColumns

获取要包含在索引中的列名的列表

IndexScript

获取完整的生成索引脚本

IndexType

获取 (CLUSTERED、NONCLUSTERED、COLUMNSTORE、CLUSTERED COLUMNSTORE) 索引的类型。 可能的值包括:“CLUSTERED”、“NONCLUSTERED”、“COLUMNSTORE”、“CLUSTERED COLUMNSTORE”

LastModified

获取此资源上次更改的 UTC 日期/时间 (ISO8601 格式) 。

Location

资源位置

(继承自 Resource)
Name

资源名称

(继承自 ProxyResource)
ReportedImpact

获取索引操作完成后报告的值。

Schema

获取要在其上生成索引的表所在的架构

State

获取当前建议状态。 可能的值包括:“Active”、“Pending”、“Executing”、“Verifying”、“Pending Revert”、“Reverting”、“Reverted”、“Ignored”、“Expired”、“Blocked”、“Success”

Table

获取要基于其生成索引的表。

Tags

资源标记

(继承自 Resource)
Type

资源类型

(继承自 ProxyResource)

方法

Validate()

验证 对象。 如果验证失败,则引发 ValidationException。

(继承自 Resource)

适用于