Поделиться через


IDTSBuffer90.Clone Method

Creates a private copy of an IDTSBuffer90 object.

Пространство имен: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Синтаксис

'Декларация
Function Clone ( _
    <InAttribute> pOwner As IDTSComponentMetaData90 _
) As IDTSBuffer90
IDTSBuffer90 Clone (
    [InAttribute] IDTSComponentMetaData90 pOwner
)
IDTSBuffer90^ Clone (
    [InAttribute] IDTSComponentMetaData90^ pOwner
)
IDTSBuffer90 Clone (
    /** @attribute InAttribute() */ IDTSComponentMetaData90 pOwner
)
function Clone (
    pOwner : IDTSComponentMetaData90
) : IDTSBuffer90

Параметры

Возвращаемое значение

An IDTSBuffer90 object that is a copy of the original buffer.

Замечания

This method creates a private copy of the calling IDTSBuffer90 object that contains all of the columns and rows of the original. The newly created buffer is private to the component that calls the Clone method, which means that the buffer is not managed or monitored by the IDTSBufferManager90. The IDTSBuffer90 must be locked, and cannot be an output buffer, which is a buffer provided to a component in the PrimeOutput method. If the buffer is an output buffer, a DTS_E_BUFFERISNOTPRIMEOUTPUT exception occurs. If the buffer is not locked, a DTS_E_BUFFERNOTLOCKED exception occurs.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

IDTSBuffer90 Interface
IDTSBuffer90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace