IDTSVariableDispenser100.LockOneForRead 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Puts the variable in a list, and then locks it for read-only access. For more information, see VariableDispenserClass.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Sub LockOneForRead ( _
Variable As String, _
<OutAttribute> ByRef ppVariables As IDTSVariables100 _
)
'用途
Dim instance As IDTSVariableDispenser100
Dim Variable As String
Dim ppVariables As IDTSVariables100
instance.LockOneForRead(Variable, ppVariables)
void LockOneForRead(
string Variable,
out IDTSVariables100 ppVariables
)
void LockOneForRead(
[InAttribute] String^ Variable,
[InAttribute] [OutAttribute] IDTSVariables100^% ppVariables
)
abstract LockOneForRead :
Variable:string *
ppVariables:IDTSVariables100 byref -> unit
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.