共用方式為


LockOneForWrite 方法

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

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

語法

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

實作

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