Класс FunctionStatementBody

Represents the CREATE/ALTER FUNCTION statement.

Иерархия наследования

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.ProcedureStatementBodyBase
        Microsoft.SqlServer.TransactSql.ScriptDom.FunctionStatementBody
          Microsoft.SqlServer.TransactSql.ScriptDom.AlterFunctionStatement
          Microsoft.SqlServer.TransactSql.ScriptDom.CreateFunctionStatement

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public MustInherit Class FunctionStatementBody _
    Inherits ProcedureStatementBodyBase
'Применение
Dim instance As FunctionStatementBody
[SerializableAttribute]
public abstract class FunctionStatementBody : ProcedureStatementBodyBase
[SerializableAttribute]
public ref class FunctionStatementBody abstract : public ProcedureStatementBodyBase
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type FunctionStatementBody =  
    class 
        inherit ProcedureStatementBodyBase 
    end
public abstract class FunctionStatementBody extends ProcedureStatementBodyBase

Тип FunctionStatementBody обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Защищенный метод FunctionStatementBody Initializes a new instance of the FunctionStatementBody class.

В начало

Свойства

  Имя Описание
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство MethodSpecifier Gets or sets the method specifier. (Производный от ProcedureStatementBodyBase.)
Открытое свойство Name Gets or sets the name of the function. Can at most be a two part name.
Открытое свойство Options Gets or sets options in a WITH clause - different options for procedure and function. Custom Manual processing.
Открытое свойство OrderHint Gets or sets an optional CLR table-valued options order hint. Valid only in case of CLR table-valued function.
Открытое свойство Parameters Gets a list of parameters. (Производный от ProcedureStatementBodyBase.)
Открытое свойство ReturnType Gets or sets the function return type. Depending on this property, Statements may be empty collection.
Открытое свойство ScriptTokenStream Gets or sets a list of token streams. (Производный от TSqlFragment.)
Открытое свойство StartColumn Gets the starting column. (Производный от TSqlFragment.)
Открытое свойство StartLine Gets the starting line. (Производный от TSqlFragment.)
Открытое свойство StartOffset Gets the fragment start offset value. (Производный от TSqlFragment.)
Открытое свойство StatementList Gets or sets a statement list. (Производный от ProcedureStatementBodyBase.)

В начало

Методы

  Имя Описание
Открытый метод Accept Indicates the entry point for a given visitor. (Производный от TSqlFragment.)
Открытый метод AcceptChildren Calls Accept on the children with the given visitor. (Переопределяет ProcedureStatementBodyBase.AcceptChildren(TSqlFragmentVisitor).)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom