Share via


VariableDispenserClass.LockForWrite Method

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

Adds the variable to the list of variables to be locked for read/write access.

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

Syntax

'Declaration
Public Overridable Sub LockForWrite ( _
    Variable As String _
)
'Usage
Dim instance As VariableDispenserClass 
Dim Variable As String

instance.LockForWrite(Variable)
public virtual void LockForWrite(
    string Variable
)
public:
virtual void LockForWrite(
    [InAttribute] String^ Variable
)
abstract LockForWrite : 
        Variable:string -> unit  
override LockForWrite : 
        Variable:string -> unit
public function LockForWrite(
    Variable : String
)

Parameters

Implements

IDTSVariableDispenser100.LockForWrite(String)

See Also

Reference

VariableDispenserClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace