共用方式為


IStream.LockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, UInt32) Method

Definition

Restricts access to a specified range of bytes in the stream.

public:
 void LockRegion(Microsoft::SqlServer::Dts::Runtime::Wrapper::_ULARGE_INTEGER libOffset, Microsoft::SqlServer::Dts::Runtime::Wrapper::_ULARGE_INTEGER cb, System::UInt32 dwLockType);
public void LockRegion (Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER libOffset, Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER cb, uint dwLockType);
abstract member LockRegion : Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER * Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER * uint32 -> unit
Public Sub LockRegion (libOffset As _ULARGE_INTEGER, cb As _ULARGE_INTEGER, dwLockType As UInteger)

Parameters

libOffset
_ULARGE_INTEGER

The byte offset for the beginning of the range.

cb
_ULARGE_INTEGER

The length of the range, in bytes, to restrict.

dwLockType
UInt32

The requested restrictions on accessing the range.

Applies to