CreateFunctionStatement 類別

定義

代表 Create Function 陳述句。

[System.Serializable]
public class CreateFunctionStatement : Microsoft.SqlServer.TransactSql.ScriptDom.FunctionStatementBody
[<System.Serializable>]
type CreateFunctionStatement = class
    inherit FunctionStatementBody
Public Class CreateFunctionStatement
Inherits FunctionStatementBody
繼承
屬性

建構函式

名稱 Description
CreateFunctionStatement()

代表 Create Function 陳述句。

欄位

名稱 Description
Uninitialized

常數表示,標記未初始化。

(繼承來源 TSqlFragment)

屬性

名稱 Description
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)

方法

名稱 Description
Accept(TSqlFragmentVisitor)

接受訪客

AcceptChildren(TSqlFragmentVisitor)

接受兒童訪客

適用於