共用方式為


Add 方法

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

For more information, see Variables.

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

語法

'宣告
Function Add ( _
    bstrName As String, _
    bReadOnly As Boolean, _
    bstrNamespace As String, _
    vValue As Object _
) As IDTSVariable100
'用途
Dim instance As IDTSVariables100
Dim bstrName As String
Dim bReadOnly As Boolean
Dim bstrNamespace As String
Dim vValue As Object
Dim returnValue As IDTSVariable100

returnValue = instance.Add(bstrName, bReadOnly, _
    bstrNamespace, vValue)
IDTSVariable100 Add(
    string bstrName,
    bool bReadOnly,
    string bstrNamespace,
    Object vValue
)
IDTSVariable100^ Add(
    [InAttribute] String^ bstrName, 
    [InAttribute] bool bReadOnly, 
    [InAttribute] String^ bstrNamespace, 
    [InAttribute] Object^ vValue
)
abstract Add : 
        bstrName:string * 
        bReadOnly:bool * 
        bstrNamespace:string * 
        vValue:Object -> IDTSVariable100 
function Add(
    bstrName : String, 
    bReadOnly : boolean, 
    bstrNamespace : String, 
    vValue : Object
) : IDTSVariable100

參數