Método VariableDispenserClass.LockOneForRead
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Puts the variable in a list, and then locks it for read-only access.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxe
'Declaração
Public Overridable Sub LockOneForRead ( _
Variable As String, _
<OutAttribute> ByRef ppVariables As IDTSVariables100 _
)
'Uso
Dim instance As VariableDispenserClass
Dim Variable As String
Dim ppVariables As IDTSVariables100
instance.LockOneForRead(Variable, ppVariables)
public virtual void LockOneForRead(
string Variable,
out IDTSVariables100 ppVariables
)
public:
virtual void LockOneForRead(
[InAttribute] String^ Variable,
[InAttribute] [OutAttribute] IDTSVariables100^% ppVariables
)
abstract LockOneForRead :
Variable:string *
ppVariables:IDTSVariables100 byref -> unit
override LockOneForRead :
Variable:string *
ppVariables:IDTSVariables100 byref -> unit
public function LockOneForRead(
Variable : String,
ppVariables : IDTSVariables100
)
Parâmetros
- Variable
Tipo: System.String
The variable you want to lock for read-only access.
- ppVariables
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100%
The collection of variables.
Implementa
IDTSVariableDispenser100.LockOneForRead(String, IDTSVariables100%)