Bagikan melalui


IDTSVariableDispenser100.LockOneForRead Method

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-only access. For more information, see VariableDispenserClass.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub LockOneForRead ( _
    Variable As String, _
    <OutAttribute> ByRef ppVariables As IDTSVariables100 _
)
'Usage
Dim instance As IDTSVariableDispenser100 
Dim Variable As String 
Dim ppVariables As IDTSVariables100

instance.LockOneForRead(Variable, ppVariables)
void LockOneForRead(
    string Variable,
    out IDTSVariables100 ppVariables
)
void LockOneForRead(
    [InAttribute] String^ Variable, 
    [InAttribute] [OutAttribute] IDTSVariables100^% ppVariables
)
abstract LockOneForRead : 
        Variable:string * 
        ppVariables:IDTSVariables100 byref -> unit
function LockOneForRead(
    Variable : String, 
    ppVariables : IDTSVariables100
)

Parameters

  • Variable
    Type: System.String
    The variable you want to lock for read-only access.

See Also

Reference

IDTSVariableDispenser100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace