Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Application.DataTypeInfos Property

 

Applies To: SQL Server 2016 Preview

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 DataTypeInfos DataTypeInfos { get; }

Property Value

Type: Microsoft.SqlServer.Dts.Runtime.DataTypeInfos

A DataTypeInfos collection that contains DataTypeInfo objects.

Legacy Code Example

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

class ApplicationTests1
    {
        static void Main(string[] args)
        {
            DataTypeInfos dti = new Application().DataTypeInfos;

            foreach (DataTypeInfo x in dti) 
                Console.WriteLine(x.TypeName + " , " + x.TypeEnumName);
        }
    }
Return to top
Show:
© 2015 Microsoft