MarkLogic XCC/.Net Library |

# Session Interface

A Session object represents a conversation with a contentbase (database) on a MarkLogic Server instance (ContentSource) and holds state information related to that conversation. Connections to the server are created and released as needed and are automatically pooled.

Sessions are created by invoking one of the ContentSource.newSession() factory methods.

For a list of all members of this type, see Session Members.

[Visual Basic]
Public Interface Session
[C#]
public interface Session

#### Requirements

Namespace: Marklogic.Xcc

Assembly: MarklogicXcc (in MarklogicXcc.dll)

#### See Also

Session Members | Marklogic.Xcc Namespace