Share via


VariableDispenserClass.LockOneForRead(String, IDTSVariables100) Method

Definition

Puts the variable in a list, and then locks it for read-only access.

public:
 virtual void LockOneForRead(System::String ^ Variable, [Runtime::InteropServices::Out] Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariables100 ^ % ppVariables) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariableDispenser100::LockOneForRead;
public virtual void LockOneForRead (string Variable, out Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100 ppVariables);
abstract member LockOneForRead : string * IDTSVariables100 -> unit
override this.LockOneForRead : string * IDTSVariables100 -> unit
Public Overridable Sub LockOneForRead (Variable As String, ByRef ppVariables As IDTSVariables100)

Parameters

Variable
String

The variable you want to lock for read-only access.

ppVariables
IDTSVariables100

The collection of variables.

Implements

Applies to