This documentation is archived and is not being maintained.

EnumerationOptions.ReturnImmediately Property

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.

[Visual Basic]
Public Property ReturnImmediately As Boolean
[C#]
public bool ReturnImmediately {get; set;}
[C++]
public: __property bool get_ReturnImmediately();
public: __property void set_ReturnImmediately(bool);
[JScript]
public function get ReturnImmediately() : Boolean;
public function set ReturnImmediately(Boolean);

Property Value

true if the invoked operation should be performed in a synchronous or semisynchronous fashion; otherwise, false. The default value is true.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

EnumerationOptions Class | EnumerationOptions Members | System.Management Namespace

Show: