Timeout Parameter (Connect-SAPHANA Cmdlet)
Specifies the maximum number of seconds that the provider waits for an operation to complete before timing out.
Syntax
Connect-SAPHANA -Timeout int
Data Type
int
Default Value
30
Remarks
Set this property to control how long the cmdlet waits for operations such as query execution, metadata retrieval, or to establish a connection.
When set to 0, operations do not time out and continue running until they complete successfully or encounter an error condition.
When set to a positive integer, the cmdlet raises an error if the operation does not complete within the specified number of seconds.
This property is useful for preventing long-running queries or network delays from causing the cmdlet to wait indefinitely without returning a result.