Freigeben über


ColumnDefinition-Klasse

Defines the column-specific properties that apply to Grid objects.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.ColumnDefinitionBase
      Microsoft.SqlServer.TransactSql.ScriptDom.ColumnDefinition

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

Syntax

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

Der ColumnDefinition-Typ macht folgende Elemente verfügbar.

Konstruktoren

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

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Collation Gets or sets the collation identifier. (Geerbt von ColumnDefinitionBase.)
Öffentliche Eigenschaft ColumnIdentifier Gets or sets the column name. (Geerbt von ColumnDefinitionBase.)
Öffentliche Eigenschaft ComputedColumnExpression Gets or sets the computed column expression.
Öffentliche Eigenschaft Constraints Gets a list of constraints for this column.
Öffentliche Eigenschaft DataType Gets or sets the data type. (Geerbt von ColumnDefinitionBase.)
Öffentliche Eigenschaft DefaultConstraint Gets or sets the default value, if not NULL.
Ö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 IdentityOptions Gets or sets the identity options.
Öffentliche Eigenschaft IsPersisted Gets or sets whether the column is persisted.
Öffentliche Eigenschaft IsRowGuidCol Gets or sets whether the row is a Guid column.
Öffentliche Eigenschaft LastTokenIndex Gets or sets the last token index. (Geerbt von TSqlFragment.)
Ö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 StorageOptions Gets or sets the column storage options.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Accept Indicates the entry point for a given visitor. (Überschreibt ColumnDefinitionBase.Accept(TSqlFragmentVisitor).)
Öffentliche Methode AcceptChildren Calls Accept on the children with the given visitor. (Überschreibt ColumnDefinitionBase.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