ObjectQueryOptions Class
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.
Represents a class for specifying query options available for methods that return instances.
public ref class ObjectQueryOptions : System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^, System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackProperty ^> ^>>
public class ObjectQueryOptions : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Microsoft.EnterpriseManagement.Configuration.ManagementPackClass,System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackProperty>>>
type ObjectQueryOptions = class
interface seq<KeyValuePair<ManagementPackClass, IList<ManagementPackProperty>>>
interface IEnumerable
Public Class ObjectQueryOptions
Implements IEnumerable(Of KeyValuePair(Of ManagementPackClass, IList(Of ManagementPackProperty)))
- Inheritance
-
ObjectQueryOptions
- Implements
Constructors
ObjectQueryOptions() |
Initializes a new ObjectQueryOptions object. |
ObjectQueryOptions(ObjectPropertyRetrievalBehavior) |
Initializes a new ObjectQueryOptions object using the default retrieval behavior. |
Fields
Default |
Specifies the default object query options. |
Properties
DefaultPropertyRetrievalBehavior |
Gets or sets the object behavior. |
MaxResultCount |
Gets or sets the maximum number of results to return. |
ObjectRetrievalMode |
Gets or sets the object retrieval mode. |
ObjectSortProperty |
Gets all the properties provided for the object sort. |
ProjectionComponentsToRetrieve |
Gets or sets the projection components to retrieve. |
Methods
AddComponentsToRetrieve(ITypeProjectionComponent) |
Adds the projection components that are to be retrieved to a list. The components should have the same seed identifier. |
AddFilterByConnector(IList<Guid>) |
Inserts filter instances using the connector IDs. |
AddPropertyRangeToRetrieve(ManagementPackClass, IEnumerable<ManagementPackProperty>) |
Adds the property range. |
AddPropertyToRetrieve(ManagementPackClass, ManagementPackProperty) |
Adds the specified property to the query options for the given class. |
AddPropertyToRetrieve(ManagementPackProperty) |
Adds the property to the query options using the properties type as the class to which to add the property. |
AddSortProperty(ISortableProperty, SortingOrder) |
Adds sort properties for projection sorting using the specified property and sort order parameters. |
AddSortProperty(String, ManagementPackTypeProjection, EnterpriseManagementGroup) |
Adds sort properties for projection sorting based on generic and non-generic properties. |
AddSortProperty(String, ManagementPackTypeProjection, ManagementPack, EnterpriseManagementGroup) |
Adds sort properties for projection sorting based on generic and non-generic properties. |
GetEnumerator() |
Returns an enumerator that can iterate through a collection. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |