Microsoft.SqlServer.TransactSql.ScriptDom by Microsoft

<PackageReference Include="Microsoft.SqlServer.TransactSql.ScriptDom" Version="161.8905.0" />

.NET API 5,152,136 bytes

 AlterTableAlterColumnStatement

Alter column specialization of Alter Table statement.

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

public Identifier Collation { get; set; }

Collation identifier

public Identifier ColumnIdentifier { get; set; }

The indentifier that represents the name of the column.

public DataTypeReference DataType { get; set; }

The data type of the column.

Column encryption definition set if column is encrypted.

public GeneratedAlwaysType? GeneratedAlways { get; set; }

Generated always type (if any).

public bool IsHidden { get; set; }

True if the column is hidden.

public bool IsMasked { get; set; }

True if the column has a data masking function applied.

public StringLiteral MaskingFunction { get; set; }

Represents the data masking function applied to the column.

public IList<IndexOption> Options { get; }

The statement options. Optional may have zero elements.

public ColumnStorageOptions StorageOptions { get; set; }

Column storage options.