Create an iterator over the space using the specified template(s) and settings.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
[ObsoleteAttribute("Since 10.1.1 - Use Use GetSpaceIterator<T>(T template) or GetSpaceIterator<T>(IQuery<T> query) instead")] ISpaceIterator<T> GetSpaceIterator<T>( ICollection<T> templates, ICollection<IQuery<T>> queries, SpaceIteratorConfig config )
<ObsoleteAttribute("Since 10.1.1 - Use Use GetSpaceIterator<T>(T template) or GetSpaceIterator<T>(IQuery<T> query) instead")> _ Function GetSpaceIterator(Of T) ( _ templates As ICollection(Of T), _ queries As ICollection(Of IQuery(Of T)), _ config As SpaceIteratorConfig _ ) As ISpaceIterator(Of T)
[ObsoleteAttribute(L"Since 10.1.1 - Use Use GetSpaceIterator<T>(T template) or GetSpaceIterator<T>(IQuery<T> query) instead")] generic<typename T> ISpaceIterator<T>^ GetSpaceIterator( ICollection<T>^ templates, ICollection<IQuery<T>^>^ queries, SpaceIteratorConfig^ config )
Generic Template Parameters
- T
- Type of object to read.
Parameters
- templates (ICollection<(Of <(T>)>))
- The template used for matching.
- queries (ICollection<(Of <(IQuery<(Of <(T>)>)>)>))
- The queries used for matching.
- config (SpaceIteratorConfig)
- Configuration for new space iterator.
Return Value
A configured space iterator.
Exceptions
Exception | Condition |
---|---|
InactiveSpaceException | The space is in backup mode and therefore is not active. |
SqlQueryException | The query template is an illegal SqlQuery. |