Share via


VariableClass.DataType Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets the data type of the variable.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property DataType As Integer 
    Get
'Usage
Dim instance As VariableClass 
Dim value As Integer 

value = instance.DataType
public virtual int DataType { get; }
public:
virtual property int DataType {
    int get ();
}
abstract DataType : int 
override DataType : int
function get DataType () : int

Property Value

Type: System.Int32
The data type of the variable.

Implements

IDTSVariable100.DataType

See Also

Reference

VariableClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace