Export (0) Print
Expand All

EnumerationOptions Members

EnumerationOptions overview

Public Constructors

public constructorEnumerationOptions Constructor Overloaded. Initializes a new instance of the EnumerationOptions class.

Public Properties

public propertyBlockSize Gets or sets the block size for block operations. When enumerating through a collection, WMI will return results in groups of the specified size.
public propertyContext (inherited from ManagementOptions) Gets or sets a WMI context object. This is a name-value pairs list to be passed through to a WMI provider that supports context information for customized operation.
public propertyDirectRead Gets or sets a value indicating whether direct access to the WMI provider is requested for the specified class, without any regard to its superclass or derived classes.
public propertyEnsureLocatable Gets or sets a value indicating whether to the objects returned should have locatable information in them. This ensures that the system properties, such as __PATH, __RELPATH, and __SERVER, are non-NULL. This flag can only be used in queries, and is ignored in enumerations.
public propertyEnumerateDeep Gets or sets a value indicating whether recursive enumeration is requested into all classes derived from the specified superclass. If false, only immediate derived class members are returned.
public propertyPrototypeOnly Gets or sets a value indicating whether the query should return a prototype of the result set instead of the actual results. This flag is used for prototyping.
public propertyReturnImmediately Gets or sets a value indicating whether the invoked operation should be performed in a synchronous or semisynchronous fashion. If this property is set to true, the enumeration is invoked and the call returns immediately. The actual retrieval of the results will occur when the resulting collection is walked.
public propertyRewindable Gets or sets a value indicating whether the collection is assumed to be rewindable. If true, the objects in the collection will be kept available for multiple enumerations. If false, the collection can only be enumerated one time.
public propertyTimeout (inherited from ManagementOptions) Gets or sets the timeout to apply to the operation. Note that for operations that return collections, this timeout applies to the enumeration through the resulting collection, not the operation itself (the ReturnImmediately property is used for the latter).This property is used to indicate that the operation should be performed semisynchronously.
public propertyUseAmendedQualifiers Gets or sets a value indicating whether the objects returned from WMI should contain amended information. Typically, amended information is localizable information attached to the WMI object, such as object and property descriptions.

Public Methods

public methodClone Overridden. Returns a copy of the object.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

EnumerationOptions Class | System.Management Namespace

Show:
© 2014 Microsoft