Share via


IScalarVariable.DataType Property

Gets a IScalarDataType object that represents the scalar variable data type.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property DataType As IScalarDataType
    Get
'Usage
Dim instance As IScalarVariable
Dim value As IScalarDataType

value = instance.DataType
IScalarDataType DataType { get; }
property IScalarDataType^ DataType {
    IScalarDataType^ get ();
}
abstract DataType : IScalarDataType
function get DataType () : IScalarDataType

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IScalarDataType
The IScalarDataType object that represents the scalar variable data type.

Implements

IScalar.DataType