MarkLogic XCC/.Net Library |

# ServerConnection.getTimeoutMillis Method

A timeout value, in milliseconds, which is a hint to the provider upon return to indicate how long this connection should be considered valid. Providers are expected to set this value to zero when giving out a connection via ConnectionProvider.obtainConnection().

[Visual Basic]
Function getTimeoutMillis() As Long
[C#]
long getTimeoutMillis();

#### Return Value

A duration, in milliseconds.

#### See Also

ServerConnection Interface | Marklogic.Xcc.Spi Namespace