Share via


ILocalVariable.DataType Property

Gets the local 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 IDataType
    Get
'Usage
Dim instance As ILocalVariable
Dim value As IDataType

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

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IDataType
The IDataType that represents the local variable data type.