Właściwość EmptyEnumerator.Current
Podnosi błąd wskazujący pusty moduł wyliczający.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
Zestaw: Microsoft.SqlServer.ForEachSMOEnumerator (w Microsoft.SqlServer.ForEachSMOEnumerator.dll)
Składnia
'Deklaracja
Public ReadOnly Property Current As Object
Get
'Użycie
Dim instance As EmptyEnumerator
Dim value As Object
value = instance.Current
public Object Current { get; }
public:
virtual property Object^ Current {
Object^ get () sealed;
}
abstract Current : Object
override Current : Object
final function get Current () : Object
Wartość właściwości
Typ: System.Object
Obiekt.
Implementacje
Uwagi
Metoda ta pobiera bieżący obiekt z kolekcja.Dla EmptyEnumerator, będzie nie bieżącego obiektu, aby pobrać kolekcja.Jeśli ta metoda jest używana, powstaje błąd.
Zobacz także