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)

'Declaration
Public ReadOnly Property DataTypeInfos As DataTypeInfos
/** @property */
public DataTypeInfos get_DataTypeInfos ()

public function get DataTypeInfos () : DataTypeInfos

Property Value

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

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions

ADD
Show: