Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Puts the variable in a list, and then locks it for read/write access. For more information, see VariableDispenserClass.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Sub LockOneForWrite ( _
Variable As String, _
<OutAttribute> ByRef ppVariables As IDTSVariables100 _
)
'Usage
Dim instance As IDTSVariableDispenser100
Dim Variable As String
Dim ppVariables As IDTSVariables100
instance.LockOneForWrite(Variable, ppVariables)
void LockOneForWrite(
string Variable,
out IDTSVariables100 ppVariables
)
void LockOneForWrite(
[InAttribute] String^ Variable,
[InAttribute] [OutAttribute] IDTSVariables100^% ppVariables
)
abstract LockOneForWrite :
Variable:string *
ppVariables:IDTSVariables100 byref -> unit
function LockOneForWrite(
Variable : String,
ppVariables : IDTSVariables100
)
Parameters
- Variable
Type: System.String
The name of the variable to lock for read/write access.
- ppVariables
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100%
A collection of variables.