CreateFunctionStatement 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 Create Function 语句。
[System.Serializable]
public class CreateFunctionStatement : Microsoft.SqlServer.TransactSql.ScriptDom.FunctionStatementBody
[<System.Serializable>]
type CreateFunctionStatement = class
inherit FunctionStatementBody
Public Class CreateFunctionStatement
Inherits FunctionStatementBody
- 继承
-
CreateFunctionStatement
- 属性
构造函数
| 名称 | 说明 |
|---|---|
| CreateFunctionStatement() |
表示 Create Function 语句。 |
字段
| 名称 | 说明 |
|---|---|
| Uninitialized |
用于指示和未初始化令牌的常量。 (继承自 TSqlFragment) |
属性
| 名称 | 说明 |
|---|---|
| FirstTokenIndex |
获取或设置令牌的第一个索引。 (继承自 TSqlFragment) |
| FragmentLength |
定义片段在分析的脚本中占用的字符数。 (继承自 TSqlFragment) |
| LastTokenIndex |
获取或设置令牌的最后一个索引。 (继承自 TSqlFragment) |
| MethodSpecifier |
方法说明符的名称。 (继承自 ProcedureStatementBodyBase) |
| Name |
函数的名称。 最多可以是两个部分名称。 (继承自 FunctionStatementBody) |
| Options |
WITH 子句中的选项 - 过程和函数的不同选项。 自定义手动处理。 (继承自 FunctionStatementBody) |
| OrderHint |
可选的 CLR 表值选项顺序提示。 仅在 CLR 表值函数的情况下有效。 (继承自 FunctionStatementBody) |
| Parameters |
可传递给过程或函数的参数 (继承自 ProcedureStatementBodyBase) |
| ReturnType |
函数的返回类型。 根据此属性,语句可能是空集合 (继承自 FunctionStatementBody) |
| ScriptTokenStream |
获取或设置脚本令牌流。 (继承自 TSqlFragment) |
| StartColumn |
获取起始列。 (继承自 TSqlFragment) |
| StartLine |
获取起始行。 (继承自 TSqlFragment) |
| StartOffset |
定义已分析的脚本中片段起始位置的字符偏移量。 (继承自 TSqlFragment) |
| StatementList |
过程/函数的语句(在本例中为单个 BeginEnd) (继承自 ProcedureStatementBodyBase) |
方法
| 名称 | 说明 |
|---|---|
| Accept(TSqlFragmentVisitor) |
接受访问者 |
| AcceptChildren(TSqlFragmentVisitor) |
接受儿童访问者 |