VariableDispenserClass.LockOneForWrite 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Puts the variable in a list, and then locks it for read/write access.
命名空間: 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
)
參數
- Variable
型別:System.String
The name of the variable to lock for read/write access.
- ppVariables
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100%
A collection of variables.
實作
IDTSVariableDispenser100.LockOneForWrite(String, IDTSVariables100%)