LockOneForWrite 方法

此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。

命名空间:  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%)