ForEachFromVarEnumerator.VariableName Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene o imposta il nome della variabile da enumerare.
public:
property System::String ^ VariableName { System::String ^ get(); void set(System::String ^ value); };
public string VariableName { get; set; }
member this.VariableName : string with get, set
Public Property VariableName As String
Valore della proprietà
Una stringa che contiene il nome della variabile da enumerare.
Implementazioni
Commenti
La variabile che usi con il Foreach dal Variable Enumerator deve essere di tipo Object. L'oggetto che inserisci nella variabile deve implementare una delle seguenti interfacce:
System.Collections.IEnumerableSystem.Runtime.InteropServices.ComTypes.IEnumVARIANTSystem.ComponentModel IListSourceMicrosoft.SqlServer.Dts.Runtime.Wrapper.ForEachEnumeratorHost
Un Array o ArrayList è comunemente usato. Se usi un ArrayList, devi fare riferimento al System.Collections namespace.