Share via


IStream.LockRegion Method

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

  • dwLockType
    Type: System.UInt32
    The requested restrictions on accessing the range.

See Also

Reference

IStream Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace