Specifies the wait time before terminating the attempt to execute a command and generating an error.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property Timeout As Integer |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As Expression
Dim value As Integer
instance.Timeout = value
value = instance.Timeout
|
| C# | |
|---|
public int Timeout {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property int get_Timeout();
public: __property void set_Timeout(
int value
); |
| C++/CLI | |
|---|
public:
property int Timeout {
int get();
void set (int value);
} |
Return Value
An integer that specifies the wait time in seconds.
Exceptions
| Exception | Description |
| ArgumentException | Value is lower then zero. |
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also