Udostępnij za pośrednictwem


Praca z typami danych w przepływu danych

Podczas tworzenia niestandardowego składnik przepływ danych do usług integracji pracy stale z typami danych, kopiowanie danych do i z buforów przepływ danych i przekształcanie wartości.Informacje w tym temacie pomaga wybrać odpowiedniego Integration Services typów danych i do poprawnej metody pracy z nimi.

Wstawianie danych do przepływu danych

PipelineBuffer Klasa oferuje szereg Set metody kopiowania danych w kolumnach buforu i odpowiedniego szeregu Get metod pobierania danych z buforu kolumn.W poniższych tabelach przedstawiono metoda z każdym Integration Services typu danych.

Ustawianie metody korzystania z typami danych

W poniższej tabela przedstawiono typ danych w pierwszym kolumna, a następnie wyświetla odpowiednie Set i Get metody.

Typ danych

Ustawianie metody

Metoda Get

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_BOOL ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetBoolean(System.Int32,System.Boolean) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetBoolean(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_BYTES ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetBytes(System.Int32,System.Byte[]) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetBytes(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_CY ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDecimal(System.Int32,System.Decimal) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetDecimal(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DATE ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDateTime(System.Int32,System.DateTime) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetDateTime(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBDATE ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDate(System.Int32,System.DateTime) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetDate(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIME ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetTime(System.Int32,System.TimeSpan) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetTime(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIME2 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetTime(System.Int32,System.TimeSpan) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetTime(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIMESTAMP ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDateTime(System.Int32,System.DateTime) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetDateTime(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIMESTAMP2 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDateTime(System.Int32,System.DateTime) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetDateTime(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIMESTAMPOFFSET ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDateTimeOffset(System.Int32,System.DateTimeOffset) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetDateTimeOffset(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DECIMAL ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDecimal(System.Int32,System.Decimal) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetDecimal(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_FILETIME ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDateTime(System.Int32,System.DateTime) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetDateTime(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_GUID ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetGuid(System.Int32,System.Guid) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetGuid(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_I1 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetSByte(System.Int32,System.SByte) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetSByte(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_I2 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetInt16(System.Int32,System.Int16) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetInt16(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_I4 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetInt32(System.Int32,System.Int32) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetInt32(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_I8 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetInt64(System.Int32,System.Int64) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetInt64(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_IMAGE ]

AddBlobData lub AddBlobData

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetBlobData(System.Int32,System.Int32,System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_NTEXT ]

AddBlobData lub AddBlobData

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetBlobData(System.Int32,System.Int32,System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_NULL ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetNull(System.Int32) ]

Nie ma żadnych Get metoda, która ma zastosowanie do tego typu danych.

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_NUMERIC ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDecimal(System.Int32,System.Decimal) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetDecimal(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_R4 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetSingle(System.Int32,System.Single) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetSingle(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_R8 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDouble(System.Int32,System.Double) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetDouble(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_STR ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetString(System.Int32,System.String) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetString(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_TEXT ]

AddBlobData lub AddBlobData

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetBlobData(System.Int32,System.Int32,System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_UI1 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetByte(System.Int32,System.Byte) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetByte(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_UI2 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetUInt16(System.Int32,System.UInt16) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetUInt16(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_UI4 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetUInt32(System.Int32,System.UInt32) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetUInt32(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_UI8 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetUInt64(System.Int32,System.UInt64) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetUInt64(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_WSTR ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetString(System.Int32,System.String) ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.GetString(System.Int32) ]

Typy danych do użycia z zestawu metod

Ustawianie metody

Typ danych

AddBlobData lub AddBlobData

DT_IMAGE, DT_NTEXT lub DT_TEXT

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetBoolean(System.Int32,System.Boolean) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_BOOL ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetByte(System.Int32,System.Byte) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_UI1 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetBytes(System.Int32,System.Byte[]) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_BYTES ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDate(System.Int32,System.DateTime) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBDATE ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDateTime(System.Int32,System.DateTime) ]

DT_DATE, DT_DBTIMESTAMP, DT_DBTIMESTAMP2, or DT_FILETIME

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDateTimeOffset(System.Int32,System.DateTimeOffset) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIMESTAMPOFFSET ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDecimal(System.Int32,System.Decimal) ]

DT_CY, DT_DECIMAL lub DT_NUMERIC

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDouble(System.Int32,System.Double) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_R8 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetGuid(System.Int32,System.Guid) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_GUID ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetInt16(System.Int32,System.Int16) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_I2 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetInt32(System.Int32,System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_I4 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetInt64(System.Int32,System.Int64) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_I8 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetNull(System.Int32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_NULL ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetSByte(System.Int32,System.SByte) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_I1 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetSingle(System.Int32,System.Single) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_R4 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetString(System.Int32,System.String) ]

DT_STR lub DT_WSTR

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetTime(System.Int32,System.TimeSpan) ]

DT_DBTIME lub DT_DBTIME2

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetUInt16(System.Int32,System.UInt16) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_UI2 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetUInt32(System.Int32,System.UInt32) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_UI4 ]

[ M:Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetUInt64(System.Int32,System.UInt64) ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_UI8 ]

Mapowania typów danych w przepływu danych

While moving data from sources through transformations to destinations, a data flow component must sometimes convert data types between the SQL Server Integration Services types defined in the DataType enumeration and the managed data types of the Microsoft .NET Framework defined in the System namespace.Ponadto składnik musi czasami przekonwertować jednego Integration Services typu danych do innego przed można przekonwertować typu zarządzanego typu.

Ostrzeżenie

Pliki mapowania w formacie XML, które są instalowane domyślnie C:\Program Files\Microsoft SQL Server\100\DTS\MappingFiles nie są związane z mapowania typu danych, omówione w tym temacie.Te pliki mapowania typów danych z wersja jednej bazy danych lub systemu do innej (na przykład z SQL Server 2000 do SQL Server, lub z SQL Server do Oracle) i są używane tylko przez SQL Server importu i eksportu kreatora.Więcej informacji na temat tych plików mapowania, zobacz Przenoszenie danych przy użyciu programu SQL Server Kreator importu i eksportu.

Mapowanie między integracji usług i typów danych zarządzanych

PipelineComponent.BufferTypeToDataRecordType i PipelineComponent.DataRecordTypeToBufferType mapy metody Integration Services zarządzane typy danych do typów danych.

PrzestrogaPrzestroga

Programiści powinni używać tych metod PipelineComponent Klasa ostrożnie i może być dane kodu typu metod mapowania swoich własnych są bardziej dostosowane do szczególnych potrzeb ich składników niestandardowych.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.

Następujące tabela list BufferTypeToDataRecordType i DataRecordTypeToBufferType metod mapowania różnych Integration Services zarządzane typy danych do typów danych.

Typ danych usług integracji

Mapowania tego typu zarządzanego

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_WSTR ]

System.String

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_BYTES ]

Tablica system.Byte

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIMESTAMP ]

Format system.DateTime

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIMESTAMP2 ]

Format system.DateTime

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIMESTAMPOFFSET ]

System.DateTimeOffset

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBDATE ]

Format system.DateTime

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIME ]

Obiekt System.TimeSpan

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIME2 ]

Obiekt System.TimeSpan

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DATE ]

Format system.DateTime

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_FILETIME ]

Format system.DateTime

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_NUMERIC ]

System.decimal

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_GUID ]

System.GUID

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_I1 ]

System.SByte

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_I2 ]

System.Int16

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_I4 ]

System.Int32

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_I8 ]

System.Int64

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_BOOL ]

Typu System.wartość logiczna

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_R4 ]

System.Single

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_R8 ]

System.Double

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_UI1 ]

System.Byte

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_UI2 ]

System.UInt16

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_UI4 ]

System.uint32

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_UI8 ]

System.UInt64

Mapowania typów danych usług integracji Dopasuj zarządzane typy danych

Czasami składnik przepływ danych również może przekonwertować jednego Integration Services typu danych do innego przed można przekonwertować typu zarządzanego typu.PipelineComponent.ConvertBufferDataTypeToFitManaged Mapy metoda klasy Integration Services typów danych innych Integration Services typów danych, które mogą być mapowane na typy danych za pomocą zarządzać PipelineComponent.BufferTypeToDataRecordType metoda.

PrzestrogaPrzestroga

Programiści powinni używać tych metod PipelineComponent Klasa ostrożnie i może być dane kodu typu metod mapowania swoich własnych są bardziej dostosowane do szczególnych potrzeb ich składników niestandardowych.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.

Następujące tabela list ConvertBufferDataTypeToFitManaged Metoda mapuje Integration Services typów danych innych Integration Services typów danych.

Typ danych usług integracji oryginalny

Mapowania tego typu usług integracji

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DECIMAL ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_NUMERIC ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_CY ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_NUMERIC ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DATE ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIMESTAMP ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBDATE ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIMESTAMP ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_FILETIME ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIMESTAMP ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIMESTAMP2 ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIMESTAMP ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIME ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_DBTIME2 ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_BOOL ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_I4 ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_TEXT ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_WSTR ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_NTEXT ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_WSTR ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_STR ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_WSTR ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_IMAGE ]

[ F:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_BYTES ]

Ostrzeżenie

ConvertBufferDataTypeToFitManaged Metoda nie zwraca wartość typu danych DT_DBTIMESTAMPOFFSET i UnsupportedBufferDataTypeException występuje.Należy przekonwertować DT_DBczasSTAMPOFFSET typ danych do jednego z Integration Services Data /czas typów danych, które mogą być mapowane do typu danych zarządzanych.Lista Integration Services Data /czas typów danych, które mogą być mapowane na typy danych zarządzanych, zobacz tabela w poprzedniej sekcji "Mapowania między usług integracji i dane zarządzane typy." Aby uzyskać informacje dotyczące konwersji typów danych, zobacz Typy danych usług integracji.

Ikona usług Integration Services (mała)Bieżąco z usług integracji

Najnowsze pliki do pobrania, artykuły, próbki i wideo firmy Microsoft, jak również wybranych rozwiązań ze Wspólnoty, odwiedź witrynę Integration Services strona na MSDN i TechNet:

Aby otrzymywać automatyczne powiadomienia dotyczące tych aktualizacji, zasubskrybuj źródła danych RSS dostępne na tej stronie.