共用方式為


IDTSVariableDispenser100.LockOneForRead(String, IDTSVariables100) Method

Definition

Puts the variable in a list, and then locks it for read-only access. For more information, see VariableDispenserClass.

public:
 void LockOneForRead(System::String ^ Variable, [Runtime::InteropServices::Out] Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariables100 ^ % ppVariables);
[System.Runtime.InteropServices.DispId(1610743812)]
public void LockOneForRead (string Variable, out Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100 ppVariables);
[<System.Runtime.InteropServices.DispId(1610743812)>]
abstract member LockOneForRead : string * IDTSVariables100 -> unit
Public 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.

Attributes

Applies to