PipelineComponent.DataRecordTypeToBufferType(Type) Method

Definition

Important

This API is not CLS-compliant.

Gets the Integration Services DataType that corresponds to a managed type.

protected:
 static Microsoft::SqlServer::Dts::Runtime::Wrapper::DataType DataRecordTypeToBufferType(Type ^ type);
[System.CLSCompliant(false)]
protected static Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType DataRecordTypeToBufferType (Type type);
[<System.CLSCompliant(false)>]
static member DataRecordTypeToBufferType : Type -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType
Protected Shared Function DataRecordTypeToBufferType (type As Type) As DataType

Parameters

type
Type

A managed type.

Returns

The Integration Services DataType that corresponds to the managed type.

Attributes

Remarks

This method is used to convert a managed data type to an Integration Services data type.

For more information, see Working with Data Types in the Data Flow.

Caution

Developers should use the data type mapping methods of the the PipelineComponent class with caution, and may want to code data type mapping methods of their own that are more suited to the unique needs of their custom components. The existing methods do not consider numeric precision or scale, or other properties closely related to the data type itself. Microsoft may modify or remove these methods, or modify the mappings that they perform, in a future version of Integration Services.

Applies to