AlterTableAlterColumnStatement.DataType 屬性
Gets or sets the data type of the column.
命名空間: Microsoft.SqlServer.TransactSql.ScriptDom
組件: Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)
語法
'宣告
Public Property DataType As DataTypeReference
Get
Set
'用途
Dim instance As AlterTableAlterColumnStatement
Dim value As DataTypeReference
value = instance.DataType
instance.DataType = value
public DataTypeReference DataType { get; set; }
public:
property DataTypeReference^ DataType {
DataTypeReference^ get ();
void set (DataTypeReference^ value);
}
member DataType : DataTypeReference with get, set
function get DataType () : DataTypeReference
function set DataType (value : DataTypeReference)
屬性值
型別:Microsoft.SqlServer.TransactSql.ScriptDom.DataTypeReference
The data type of the column.