Share via


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

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

Syntax

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

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

Parameters

See Also

Reference

IDTSVariableDispenser100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace