다음을 통해 공유


ForEachFromVarEnumerator.VariableName 속성

Gets or sets the name of the variable to enumerate.

네임스페이스:  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
A String that contains the name of the variable to enumerate.

구현

IDTSForEachFromVarEnumerator.VariableName

주의

The variable that you use with the Foreach from Variable Enumerator must be of type Object. The object that you place in the variable must implement one of the following interfaces:

  • System.Collections.IEnumerable

  • System.Runtime.InteropServices.ComTypes.IEnumVARIANT

  • System.ComponentModel IListSource

  • Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachEnumeratorHost

An Array or ArrayList is commonly used. If you use an ArrayList, you need to reference the System.Collections namespace.

참고 항목

참조

ForEachFromVarEnumerator 클래스

Microsoft.SqlServer.Dts.Runtime.Enumerators.FromVar 네임스페이스