CreateFunctionStatement CreateFunctionStatement CreateFunctionStatement Class

Definition

Represents the Create Function statement.

public ref class CreateFunctionStatement : Microsoft::SqlServer::TransactSql::ScriptDom::FunctionStatementBody
public class CreateFunctionStatement : Microsoft.SqlServer.TransactSql.ScriptDom.FunctionStatementBody
Public Class CreateFunctionStatement
Inherits FunctionStatementBody
Inheritance

Constructors

CreateFunctionStatement() CreateFunctionStatement() CreateFunctionStatement()

Initializes a new instance of the CreateFunctionStatement class.

Methods

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

Indicates the entry point for a given visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Calls Accept on the children with the given visitor.

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.

(Inherited from FunctionStatementBody)
Options Options Options

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

(Inherited from FunctionStatementBody)
OrderHint OrderHint OrderHint

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

(Inherited from FunctionStatementBody)
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.

(Inherited from FunctionStatementBody)
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)

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to