DeclareVariableElement.DataType Property
SQL Server 2012
Gets or sets the data type of the variable. The TABLE type is invalid.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
'Declaration Public Property DataType As DataTypeReference Get Set 'Usage Dim instance As DeclareVariableElement Dim value As DataTypeReference value = instance.DataType instance.DataType = value
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.DataTypeReferenceThe data type of the variable.
