Share via


BufferTypeToDataRecordType メソッド

Integration Services データ型に基づいてマネージ データ型を返します。

この API は、CLS に準拠していません。 

名前空間:  Microsoft.SqlServer.Dts.Pipeline
アセンブリ:  Microsoft.SqlServer.PipelineHost (Microsoft.SqlServer.PipelineHost.dll)

構文

'宣言
<CLSCompliantAttribute(False)> _
Protected Shared Function BufferTypeToDataRecordType ( _
    type As DataType _
) As Type
'使用
Dim type As DataType
Dim returnValue As Type

returnValue = PipelineComponent.BufferTypeToDataRecordType(type)
[CLSCompliantAttribute(false)]
protected static Type BufferTypeToDataRecordType(
    DataType type
)
[CLSCompliantAttribute(false)]
protected:
static Type^ BufferTypeToDataRecordType(
    DataType type
)
[<CLSCompliantAttribute(false)>]
static member BufferTypeToDataRecordType : 
        type:DataType -> Type 
protected static function BufferTypeToDataRecordType(
    type : DataType
) : Type

パラメーター

戻り値

型: System. . :: . .Type
Integration Services DataType にマップするマネージ型です。

説明

このヘルパ関数は、Integration ServicesDataType に対応するマネージ型を取得します。これは、通常、ConvertBufferDataTypeToFitManaged メソッドと組み合わせて使用されます。

詳細については、「データ フロー内のデータ型の処理」を参照してください。

注記注意

開発者が PipelineComponent クラスのデータ型マッピング メソッドを使用する場合は注意が必要です。開発者は、独自のカスタム コンポーネントの一意なニーズに合わせてデータ型マッピング メソッドを独自に作成してもかまいません。既存のメソッドでは、数値有効桁数や小数点以下桁数が考慮されていません。また、他のプロパティは、データ型そのものに密接に関連します。Integration Services の将来のバージョンでは、これらのメソッドが変更または削除されたり、メソッドが実行するマッピングが変更される可能性があります。