Compartir a través de


Current Propiedad

Raises an error indicating an empty enumerator.

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
Ensamblado:  Microsoft.SqlServer.ForEachSMOEnumerator (en Microsoft.SqlServer.ForEachSMOEnumerator.dll)

Sintaxis

'Declaración
Public ReadOnly Property Current As Object
    Get
'Uso
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

Valor de la propiedad

Tipo: System. . :: . .Object
An object.

Implementa

IEnumerator. . :: . .Current

Comentarios

This method gets the current object from the collection. For the EmptyEnumerator, there will be no current object to retrieve from the collection. If this method is used, an error is raised.