Share via


DeclareVariableElement.DataType Property

Gets or sets the data type of the variable. The table type is invalid.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property DataType As DataType
public DataType DataType { get; set; }
public:
property DataType^ DataType {
    DataType^ get ();
    void set (DataType^ value);
}
member DataType : DataType with get, set
function get DataType () : DataType
function set DataType (value : DataType)

Property Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.DataType

.NET Framework Security

See Also

Reference

DeclareVariableElement Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace