Méthode VariableDispenserClass.LockOneForWrite
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Puts the variable in a list, and then locks it for read/write access.
Espace de noms : Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly : Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntaxe
'Déclaration
Public Overridable Sub LockOneForWrite ( _
Variable As String, _
<OutAttribute> ByRef ppVariables As IDTSVariables100 _
)
'Utilisation
Dim instance As VariableDispenserClass
Dim Variable As String
Dim ppVariables As IDTSVariables100
instance.LockOneForWrite(Variable, ppVariables)
public virtual void LockOneForWrite(
string Variable,
out IDTSVariables100 ppVariables
)
public:
virtual void LockOneForWrite(
[InAttribute] String^ Variable,
[InAttribute] [OutAttribute] IDTSVariables100^% ppVariables
)
abstract LockOneForWrite :
Variable:string *
ppVariables:IDTSVariables100 byref -> unit
override LockOneForWrite :
Variable:string *
ppVariables:IDTSVariables100 byref -> unit
public function LockOneForWrite(
Variable : String,
ppVariables : IDTSVariables100
)
Paramètres
- 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.
Implémente
IDTSVariableDispenser100.LockOneForWrite(String, IDTSVariables100%)