SfcObjectQueryMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This enumeration determines the use of query iterators on object query results. It only applies to queries returning an iterator. Caching avoids these issues entirely at the expense of first caching all of the query results in memory. Single or multiple active queries both use a non-cached iterator, but affect how the domain instance responds the GetConnection method.
All iterators of query results must always be disposed as soon as they are no longer in use regardless of mode.
public enum SfcObjectQueryMode
type SfcObjectQueryMode =
Public Enum SfcObjectQueryMode
- Inheritance
-
SfcObjectQueryMode
Fields
Name | Value | Description |
---|---|---|
CachedQuery | 0 | CachedQueries avoids any issues with nested or overlapping active queries by internally caching the query results and iterating on that. |
SingleActiveQuery | 1 | |
MultipleActiveQueries | 2 |