共用方式為


LockOneForRead 方法

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Public Overridable Sub LockOneForRead ( _
    Variable As String, _
    <OutAttribute> ByRef ppVariables As IDTSVariables100 _
)
'用途
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
)

實作

IDTSVariableDispenser100. . :: . .LockOneForRead(String, IDTSVariables100%)