'Declaration Public Sub ResetCommandTimeout()
'Usage Dim instance As TdCommand instance.ResetCommandTimeout()
public void ResetCommandTimeout()
public: void ResetCommandTimeout();
'Declaration Public Sub ResetCommandTimeout()
'Usage Dim instance As TdCommand instance.ResetCommandTimeout()
public void ResetCommandTimeout()
public: void ResetCommandTimeout();
Exception | Description |
---|---|
System.InvalidOperationException | Indicates the TdCommand.CommandTimeout property was changed while the command was in the execute state. |
System.ObjectDisposedException | Indicates the TdCommand
is disposed. |
ResetCommandTimeout
method resets the CommandTimeout property to the default value of 30 seconds.Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019