FunctionStatementBody FunctionStatementBody FunctionStatementBody Class

Definition

Represents the CREATE/ALTER FUNCTION statement.

public ref class FunctionStatementBody abstract : Microsoft::SqlServer::TransactSql::ScriptDom::ProcedureStatementBodyBase
public abstract class FunctionStatementBody : Microsoft.SqlServer.TransactSql.ScriptDom.ProcedureStatementBodyBase
Public MustInherit Class FunctionStatementBody
Inherits ProcedureStatementBodyBase
Inheritance
Derived

Constructors

FunctionStatementBody() FunctionStatementBody() FunctionStatementBody()

Initializes a new instance of the FunctionStatementBody class.

Properties

FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
MethodSpecifier MethodSpecifier MethodSpecifier

Gets or sets the method specifier.

(Inherited from ProcedureStatementBodyBase)
Name Name Name

Gets or sets the name of the function. Can at most be a two part name.

Options Options Options

Gets or sets options in a WITH clause - different options for procedure and function. Custom Manual processing.

OrderHint OrderHint OrderHint

Gets or sets an optional CLR table-valued options order hint. Valid only in case of CLR table-valued function.

Parameters Parameters Parameters

Gets a list of parameters.

(Inherited from ProcedureStatementBodyBase)
ReturnType ReturnType ReturnType

Gets or sets the function return type. Depending on this property, Statements may be empty collection.

ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)
StatementList StatementList StatementList

Gets or sets a statement list.

(Inherited from ProcedureStatementBodyBase)

Methods

Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Indicates the entry point for a given visitor.

(Inherited from TSqlFragment)
AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Calls Accept on the children with the given visitor.

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to