Share via


FunctionStatementBody Class

Definition

Represents CREATE/ALTER FUNCTION statement

[System.Serializable]
public abstract class FunctionStatementBody : Microsoft.SqlServer.TransactSql.ScriptDom.ProcedureStatementBodyBase
[<System.Serializable>]
type FunctionStatementBody = class
    inherit ProcedureStatementBodyBase
Public MustInherit Class FunctionStatementBody
Inherits ProcedureStatementBodyBase
Inheritance
Derived
Attributes

Constructors

FunctionStatementBody()

Fields

Uninitialized

Constant to indicate and uninitialized token.

(Inherited from TSqlFragment)

Properties

FirstTokenIndex

Gets or sets the first index of the token.

(Inherited from TSqlFragment)
FragmentLength

Defines the number of characters the fragment takes up in the script it was parsed.

(Inherited from TSqlFragment)
LastTokenIndex

Gets or sets the last index of the token.

(Inherited from TSqlFragment)
MethodSpecifier

The name of the method specifier.

(Inherited from ProcedureStatementBodyBase)
Name

The name of the function. Can at most be a two part name.

Options

Options in WITH clause - different options for procedure and function. Custom Manual processing.

OrderHint

Optional CLR table-valued options order hint. Valid only in case of CLR table-valued function.

Parameters

Parameters which can be passed to procedure or function

(Inherited from ProcedureStatementBodyBase)
ReturnType

The return type of the function. Depending on this property, Statements may be empty collection

ScriptTokenStream

Gets or sets the script token stream.

(Inherited from TSqlFragment)
StartColumn

Gets the start column.

(Inherited from TSqlFragment)
StartLine

Gets the start line.

(Inherited from TSqlFragment)
StartOffset

Defines the character offset of fragments starting location in the script it was parsed.

(Inherited from TSqlFragment)
StatementList

Statements for procedure / function (single BeginEnd in this case)

(Inherited from ProcedureStatementBodyBase)

Methods

Accept(TSqlFragmentVisitor)

Accepts the specified visitor.

(Inherited from TSqlFragment)
AcceptChildren(TSqlFragmentVisitor)

Accepts visitor for Children

Applies to