IndexDefinition 类

定义

表示索引定义的基数。

[System.Serializable]
public class IndexDefinition : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
[<System.Serializable>]
type IndexDefinition = class
    inherit TSqlStatement
Public Class IndexDefinition
Inherits TSqlStatement
继承
属性

构造函数

名称 说明
IndexDefinition()

表示索引定义的基数。

字段

名称 说明
Uninitialized

用于指示和未初始化令牌的常量。

(继承自 TSqlFragment)

属性

名称 说明
Columns

定义的列。

FileStreamOn

文件流的可选规范。 可以是标识符或字符串文本。

FilterPredicate

索引的可选筛选器谓词。

FirstTokenIndex

获取或设置令牌的第一个索引。

(继承自 TSqlFragment)
FragmentLength

定义片段在分析的脚本中占用的字符数。

(继承自 TSqlFragment)
IncludeColumns

要添加到非聚集索引的叶级别的非键列。

IndexOptions

索引选项。 可选元素可能为零。

IndexType

索引类型。

LastTokenIndex

获取或设置令牌的最后一个索引。

(继承自 TSqlFragment)
Name

索引名。

OnFileGroupOrPartitionScheme

文件组或分区方案。 可能为 null。

ScriptTokenStream

获取或设置脚本令牌流。

(继承自 TSqlFragment)
StartColumn

获取起始列。

(继承自 TSqlFragment)
StartLine

获取起始行。

(继承自 TSqlFragment)
StartOffset

定义已分析的脚本中片段起始位置的字符偏移量。

(继承自 TSqlFragment)
Unique

显示是否使用了 Unique 关键字。

方法

名称 说明
Accept(TSqlFragmentVisitor)

接受访问者

AcceptChildren(TSqlFragmentVisitor)

接受儿童访问者

适用于