Application.DataTypeInfos Property

 

Returns a DataTypeInfos collection that contains DataTypeInfo objects. This property is read-only.

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

Public ReadOnly Property DataTypeInfos As DataTypeInfos

Property Value

Type: Microsoft.SqlServer.Dts.Runtime.DataTypeInfos

A DataTypeInfos collection that contains DataTypeInfo objects.

The following code example shows how to enumerate the available data types.

class ApplicationTests1
    Sub Main(ByVal args() As String)
        Dim dti As DataTypeInfos =  New Application().DataTypeInfos 

        For Each x As DataTypeInfo In dti
            Console.WriteLine(x.TypeName + " , " + x.TypeEnumName)
        Next
    End Sub
End Class
Return to top
Show: