EmptyEnumerator.Current Property
Raises an error indicating an empty enumerator.
Namespace: Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
Assembly: Microsoft.SqlServer.ForEachSMOEnumerator (in microsoft.sqlserver.foreachsmoenumerator.dll)
Syntax
'Declaration
Public ReadOnly Property Current As Object
public Object Current { get; }
public:
virtual property Object^ Current {
Object^ get () sealed;
}
/** @property */
public final Object get_Current ()
public final function get Current () : Object
Property Value
An object.
Remarks
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.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
EmptyEnumerator Class
EmptyEnumerator Members
Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO Namespace