Freigeben über


FunctionStatementBody-Klasse

Represents the CREATE/ALTER FUNCTION statement.

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class FunctionStatementBody _
    Inherits ProcedureStatementBodyBase
'Usage
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

Der FunctionStatementBody-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Geschützte Methode FunctionStatementBody Initializes a new instance of the FunctionStatementBody class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft FirstTokenIndex Gets or sets the first token index. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft FragmentLength Gets the fragment length. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft LastTokenIndex Gets or sets the last token index. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft MethodSpecifier Gets or sets the method specifier. (Geerbt von ProcedureStatementBodyBase.)
Öffentliche Eigenschaft Name Gets or sets the name of the function. Can at most be a two part name.
Öffentliche Eigenschaft Options Gets or sets options in a WITH clause - different options for procedure and function. Custom Manual processing.
Öffentliche Eigenschaft OrderHint Gets or sets an optional CLR table-valued options order hint. Valid only in case of CLR table-valued function.
Öffentliche Eigenschaft Parameters Gets a list of parameters. (Geerbt von ProcedureStatementBodyBase.)
Öffentliche Eigenschaft ReturnType Gets or sets the function return type. Depending on this property, Statements may be empty collection.
Öffentliche Eigenschaft ScriptTokenStream Gets or sets a list of token streams. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartColumn Gets the starting column. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartLine Gets the starting line. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartOffset Gets the fragment start offset value. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StatementList Gets or sets a statement list. (Geerbt von ProcedureStatementBodyBase.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Accept Indicates the entry point for a given visitor. (Geerbt von TSqlFragment.)
Öffentliche Methode AcceptChildren Calls Accept on the children with the given visitor. (Überschreibt ProcedureStatementBodyBase.AcceptChildren(TSqlFragmentVisitor).)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.TransactSql.ScriptDom-Namespace