Freigeben über


CreateFunctionStatement-Klasse

Represents the Create 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.CreateFunctionStatement

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class CreateFunctionStatement _
    Inherits FunctionStatementBody
'Usage
Dim instance As CreateFunctionStatement
[SerializableAttribute]
public class CreateFunctionStatement : FunctionStatementBody
[SerializableAttribute]
public ref class CreateFunctionStatement : public FunctionStatementBody
[<SerializableAttribute>]
type CreateFunctionStatement =  
    class 
        inherit FunctionStatementBody 
    end
public class CreateFunctionStatement extends FunctionStatementBody

Der CreateFunctionStatement-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode CreateFunctionStatement Initializes a new instance of the CreateFunctionStatement 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. (Geerbt von FunctionStatementBody.)
Öffentliche Eigenschaft Options Gets or sets options in a WITH clause - different options for procedure and function. Custom Manual processing. (Geerbt von FunctionStatementBody.)
Öffentliche Eigenschaft OrderHint Gets or sets an optional CLR table-valued options order hint. Valid only in case of CLR table-valued function. (Geerbt von FunctionStatementBody.)
Ö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. (Geerbt von FunctionStatementBody.)
Ö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. (Überschreibt TSqlFragment.Accept(TSqlFragmentVisitor).)
Öffentliche Methode AcceptChildren Calls Accept on the children with the given visitor. (Überschreibt FunctionStatementBody.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