다음을 통해 공유


CreateFunctionStatement Class

Definition

Represents the Create Function statement.

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

Constructors

CreateFunctionStatement()

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.

(Inherited from FunctionStatementBody)
Options

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

(Inherited from FunctionStatementBody)
OrderHint

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

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

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

AcceptChildren(TSqlFragmentVisitor)

Accepts visitor for Children

Applies to