VariableName プロパティ
列挙する変数の名前を取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Dts.Runtime.Enumerators.FromVar
アセンブリ: Microsoft.SqlServer.ForEachFromVarEnumerator (Microsoft.SqlServer.ForEachFromVarEnumerator.dll)
構文
'宣言
Public Property VariableName As String
Get
Set
'使用
Dim instance As ForEachFromVarEnumerator
Dim value As String
value = instance.VariableName
instance.VariableName = value
public string VariableName { get; set; }
public:
virtual property String^ VariableName {
String^ get () sealed;
void set (String^ value) sealed;
}
abstract VariableName : string with get, set
override VariableName : string with get, set
final function get VariableName () : String
final function set VariableName (value : String)
プロパティ値
型: System. . :: . .String
列挙する変数の名前を表す String です。
実装
説明
Foreach From Variable 列挙子で使用する変数は、Object 型であることが必要です。変数内に格納するオブジェクトでは、次のいずれかのインターフェイスを実装する必要があります。
System.Collections.IEnumerable
System.Runtime.InteropServices.ComTypes.IEnumVARIANT
System.ComponentModel IListSource
Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachEnumeratorHost
Array または ArrayList が一般的に使用されます。ArrayList を使用する場合は、System.Collections 名前空間を参照する必要があります。