ColumnDefinition ColumnDefinition ColumnDefinition Class


Represents a column definition.

public ref class ColumnDefinition : Microsoft::SqlServer::TransactSql::ScriptDom::ColumnDefinitionBase
public class ColumnDefinition : Microsoft.SqlServer.TransactSql.ScriptDom.ColumnDefinitionBase
Public Class ColumnDefinition
Inherits ColumnDefinitionBase


ColumnDefinition() ColumnDefinition() ColumnDefinition()

Initializes a new instance of the ColumnDefinition class.


Collation Collation Collation

Gets or sets the collation identifier.

(Inherited from ColumnDefinitionBase)
ColumnIdentifier ColumnIdentifier ColumnIdentifier

Gets or sets the column name.

(Inherited from ColumnDefinitionBase)
ComputedColumnExpression ComputedColumnExpression ComputedColumnExpression

Gets or sets the computed column expression.

Constraints Constraints Constraints

Gets a list of constraints for this column.

DataType DataType DataType

Gets or sets the data type.

(Inherited from ColumnDefinitionBase)
DefaultConstraint DefaultConstraint DefaultConstraint

Gets or sets the default value, if not NULL.

Encryption Encryption Encryption
FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
GeneratedAlways GeneratedAlways GeneratedAlways
IdentityOptions IdentityOptions IdentityOptions

Gets or sets the identity options.

Index Index Index

Gets or sets the index for this column.

IsHidden IsHidden IsHidden
IsMasked IsMasked IsMasked
IsPersisted IsPersisted IsPersisted

Gets or sets whether the column is persisted.

IsRowGuidCol IsRowGuidCol IsRowGuidCol

Gets or sets whether the row is a GUID column.

LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
MaskingFunction MaskingFunction MaskingFunction
ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)
StorageOptions StorageOptions StorageOptions

Gets or sets the column storage options.


Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Indicates the entry point for a given visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Calls Accept on the children with the given visitor.


Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to