この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
IDTSVariable100 オブジェクトをコレクションに追加します。
名前空間: 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
パラメーター
- bstrName
型: System.String
コレクションに追加するパッケージ、タスク、またはコンテナー変数の名前です。
- bReadOnly
型: System.Boolean
変数が読み取り専用であることを示す場合は true、それ以外の場合は false を返します。
- bstrNamespace
型: System.String
変数の名前空間です。
- vValue
型: System.Object
変数のデザイン時の値です。
戻り値
型: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100
コレクションに追加された IDTSVariable100 オブジェクトです。
説明
詳細については、「Variables」を参照してください。