IDTSBuffer90.LockData Method
Locks the data in an IDTSBuffer90.
네임스페이스: Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)
구문
‘선언
Sub LockData
void LockData ()
void LockData ()
void LockData ()
function LockData ()
주의
Before accessing the data in an IDTSBuffer90, data flow components should call the LockData method of the buffer. This method locks the data in the buffer in memory and prevents the IDTSBufferManager90 from swapping it out to disk.
In low memory situations, the IDTSBufferManager90 attempts to create memory space by swapping unlocked buffers out of memory and to disk. Attempts to access the data within a buffer fail on buffers that have not been locked. However, calls to get data about the buffer itself, such as GetRowCount or GetColumnCount, succeed because only the actual data within the buffer is swapped to disk, not the descriptive data about the state or type of the buffer.
Managed data flow component developers do not need to call this method because the managed PipelineBuffer automatically locks and unlocks the buffer.
스레드 보안
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.
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
IDTSBuffer90 Interface
IDTSBuffer90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace