Freigeben über


CreateTableStatement-Klasse

Represents the CREATE TABLE statement.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.CreateTableStatement

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

Syntax

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

Der CreateTableStatement-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode CreateTableStatement Initializes a new instance of the CreateTableStatement class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft AsFileTable Indicates whether AS FILE TABLE is specified.
Öffentliche Eigenschaft Definition Gets or sets the table definition containing columns and constraints.
Öffentliche Eigenschaft FederationScheme Gets or sets the scheme for the federation.
Öffentliche Eigenschaft FileStreamOn Gets or sets the filegroup specification for FILESTREAM data.
Ö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 OnFileGroupOrPartitionScheme Gets or sets the filegroup or partition scheme on which the table is stored. Maybe nullein NULL-Verweis (Nothing in Visual Basic).
Öffentliche Eigenschaft Options Gets or sets the collection of table options.
Öffentliche Eigenschaft SchemaObjectName Gets or sets the name of the schema to which the table belongs.
Ö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 TextImageOn Gets or sets the filegroup specification for the storage of large value columns in the table.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Accept Accepts a visit from the specified visitor. (Überschreibt TSqlFragment.Accept(TSqlFragmentVisitor).)
Öffentliche Methode AcceptChildren Accepts a visit for the children from the specified visitor. (Überschreibt TSqlStatement.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