Metodo IStream.LockRegion
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Restricts access to a specified range of bytes in the stream.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintassi
'Dichiarazione
Sub LockRegion ( _
libOffset As _ULARGE_INTEGER, _
cb As _ULARGE_INTEGER, _
dwLockType As UInteger _
)
'Utilizzo
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
)
Parametri
- libOffset
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER
The byte offset for the beginning of the range.
- cb
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER
The length of the range, in bytes, to restrict.
- dwLockType
Tipo: System.UInt32
The requested restrictions on accessing the range.