MarkLogic XCC/.Net Library |

# ServerConnection Members

ServerConnection overview

#### Public Instance Methods

channel | The channel to be used for server communication.
close | Close this server connection. If a connection is closed when returned to the provider, it will be silently dropped.
getTimeoutMillis | 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().
isOpen | Indicates whether the underlying connection channel is open.
provider | The ConnectionProvider to which this connection should be returned.
setTimeoutMillis | Set the suggested timeout value for this connection. This value is only used by the provider when a connection is passed to ConnectionProvider.returnConnection().

#### See Also

ServerConnection Interface | Marklogic.Xcc.Spi Namespace