PayloadOption 类

定义

表示 CREATE/ALTER ENDPOINT 语句中的单个有效负载选项

[System.Serializable]
public abstract class PayloadOption : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
[<System.Serializable>]
type PayloadOption = class
    inherit TSqlFragment
Public MustInherit Class PayloadOption
Inherits TSqlFragment
继承
PayloadOption
派生
属性

构造函数

名称 说明
PayloadOption()

表示 CREATE/ALTER ENDPOINT 语句中的单个有效负载选项

字段

名称 说明
Uninitialized

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

(继承自 TSqlFragment)

属性

名称 说明
FirstTokenIndex

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

(继承自 TSqlFragment)
FragmentLength

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

(继承自 TSqlFragment)
Kind

选项类型(用于重复检查)

LastTokenIndex

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

(继承自 TSqlFragment)
ScriptTokenStream

获取或设置脚本令牌流。

(继承自 TSqlFragment)
StartColumn

获取起始列。

(继承自 TSqlFragment)
StartLine

获取起始行。

(继承自 TSqlFragment)
StartOffset

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

(继承自 TSqlFragment)

方法

名称 说明
Accept(TSqlFragmentVisitor)

接受指定的访问者。

(继承自 TSqlFragment)
AcceptChildren(TSqlFragmentVisitor)

接受儿童访问者

适用于