Share via


IDTSVariableDispenser100.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. For more information, see VariableDispenserClass.

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

Syntax

'Declaration
Sub LockForWrite ( _
    Variable As String _
)
'Usage
Dim instance As IDTSVariableDispenser100 
Dim Variable As String

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

Parameters

See Also

Reference

IDTSVariableDispenser100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace