Timeout Property
Collapse the table of content
Expand the table of content

ManagementOptions.Timeout Property

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.

[Visual Basic]
Public Property Timeout As TimeSpan
[C#]
public TimeSpan Timeout {get; set;}
[C++]
public: __property TimeSpan get_Timeout();
public: __property void set_Timeout(TimeSpan);
[JScript]
public function get Timeout() : TimeSpan;
public function set Timeout(TimeSpan);

Property Value

The default value for this property is InfiniteTimeout, which means the operation will block. The value specified must be positive.

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

ManagementOptions Class | ManagementOptions Members | System.Management Namespace

Show:
© 2016 Microsoft