Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Restricts access to a specified range of bytes in the stream.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Sub LockRegion ( _
libOffset As _ULARGE_INTEGER, _
cb As _ULARGE_INTEGER, _
dwLockType As UInteger _
)
'Usage
Dim instance As IStream
Dim libOffset As _ULARGE_INTEGER
Dim cb As _ULARGE_INTEGER
Dim dwLockType As UInteger
instance.LockRegion(libOffset, cb, dwLockType)
void LockRegion(
_ULARGE_INTEGER libOffset,
_ULARGE_INTEGER cb,
uint dwLockType
)
void LockRegion(
[InAttribute] _ULARGE_INTEGER libOffset,
[InAttribute] _ULARGE_INTEGER cb,
[InAttribute] unsigned int dwLockType
)
abstract LockRegion :
libOffset:_ULARGE_INTEGER *
cb:_ULARGE_INTEGER *
dwLockType:uint32 -> unit
function LockRegion(
libOffset : _ULARGE_INTEGER,
cb : _ULARGE_INTEGER,
dwLockType : uint
)
Parameters
- libOffset
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER
The byte offset for the beginning of the range.
- cb
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER
The length of the range, in bytes, to restrict.
- dwLockType
Type: System.UInt32
The requested restrictions on accessing the range.