다음을 통해 공유


Application.DataTypeInfos 속성

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

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public ReadOnly Property DataTypeInfos As DataTypeInfos 
    Get
‘사용 방법
Dim instance As Application 
Dim value As DataTypeInfos 

value = instance.DataTypeInfos
public DataTypeInfos DataTypeInfos { get; }
public:
property DataTypeInfos^ DataTypeInfos {
    DataTypeInfos^ get ();
}
member DataTypeInfos : DataTypeInfos
function get DataTypeInfos () : DataTypeInfos

속성 값

유형: 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
    {
        static void Main(string[] args)
        {
            DataTypeInfos dti = new Application().DataTypeInfos;

            foreach (DataTypeInfo x in dti) 
                Console.WriteLine(x.TypeName + " , " + x.TypeEnumName);
        }
    }
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

참고 항목

참조

Application 클래스

Microsoft.SqlServer.Dts.Runtime 네임스페이스