Share via


VariableDispenserClass.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.

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

Syntax

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

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

Parameters

Implements

IDTSVariableDispenser100.LockForRead(String)

See Also

Reference

VariableDispenserClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace