VariableDispenserClass.LockOneForRead(String, IDTSVariables100) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.