共用方式為


AlterTableAlterColumnStatement Class

Definition

Alter column specialization of Alter Table statement.

[System.Serializable]
public class AlterTableAlterColumnStatement : Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableStatement
[<System.Serializable>]
type AlterTableAlterColumnStatement = class
    inherit AlterTableStatement
Public Class AlterTableAlterColumnStatement
Inherits AlterTableStatement
Inheritance
AlterTableAlterColumnStatement
Attributes

Constructors

AlterTableAlterColumnStatement()

Fields

Uninitialized

Constant to indicate and uninitialized token.

(Inherited from TSqlFragment)

Properties

AlterTableAlterColumnOption

The option on the column. The DataType has to be null for this to be AddRowguidcol or DropRowguidcol. (?)PERSISTED used only in 2005"

Collation

Collation identifier

ColumnIdentifier

The indentifier that represents the name of the column.

DataType

The data type of the column.

Encryption

Column encryption definition set if column is encrypted.

FirstTokenIndex

Gets or sets the first index of the token.

(Inherited from TSqlFragment)
FragmentLength

Defines the number of characters the fragment takes up in the script it was parsed.

(Inherited from TSqlFragment)
GeneratedAlways

Generated always type (if any).

IsHidden

True if the column is hidden.

IsMasked

True if the column has a data masking function applied.

LastTokenIndex

Gets or sets the last index of the token.

(Inherited from TSqlFragment)
MaskingFunction

Represents the data masking function applied to the column.

Options

The statement options. Optional may have zero elements.

SchemaObjectName

The name of the type, this can be at most a two part name.

(Inherited from AlterTableStatement)
ScriptTokenStream

Gets or sets the script token stream.

(Inherited from TSqlFragment)
StartColumn

Gets the start column.

(Inherited from TSqlFragment)
StartLine

Gets the start line.

(Inherited from TSqlFragment)
StartOffset

Defines the character offset of fragments starting location in the script it was parsed.

(Inherited from TSqlFragment)
StorageOptions

Column storage options.

Methods

Accept(TSqlFragmentVisitor)

Accepts visitor

AcceptChildren(TSqlFragmentVisitor)

Accepts visitor for Children

Applies to