VariableDispenserClass.LockOneForRead 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Puts the variable in a list, and then locks it for read-only access.
命名空间: 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
)
参数
- Variable
类型:System.String
The variable you want to lock for read-only access.
- ppVariables
类型:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100%
The collection of variables.
实现
IDTSVariableDispenser100.LockOneForRead(String, IDTSVariables100%)