Partilhar via


Propriedade DataType

Gets or sets the data type that is assigned to the column.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute> _
Public Property DataType As DataType
    Get
    Set
'Uso
Dim instance As Column
Dim value As DataType

value = instance.DataType

instance.DataType = value
[SfcPropertyAttribute]
public DataType DataType { get; set; }
[SfcPropertyAttribute]
public:
property DataType^ DataType {
    DataType^ get ();
    void set (DataType^ value);
}
[<SfcPropertyAttribute>]
member DataType : DataType with get, set
function get DataType () : DataType
function set DataType (value : DataType)

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DataType
A DataType object value that specifies the data type assigned to the column.