Udostępnij za pośrednictwem


IDTSVariableLock100.AcquireLock Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Acquires the lock of the variable.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub AcquireLock ( _
    vbExclusive As Boolean _
)
'Usage
Dim instance As IDTSVariableLock100 
Dim vbExclusive As Boolean

instance.AcquireLock(vbExclusive)
void AcquireLock(
    bool vbExclusive
)
void AcquireLock(
    [InAttribute] bool vbExclusive
)
abstract AcquireLock : 
        vbExclusive:bool -> unit
function AcquireLock(
    vbExclusive : boolean
)

Parameters

  • vbExclusive
    Type: System.Boolean
    true to indicate that the lock being acquired is exclusive; otherwise, false.

See Also

Reference

IDTSVariableLock100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace