# Deprecated API

## Contents

- Deprecated Enums
- Deprecated Methods

- Deprecated Enums
  Enum and Description
  com.marklogic.xcc.Session.TransactionMode

- Deprecated Methods
  Method and Description
  com.marklogic.xcc.Session.getTransactionMode()
  com.marklogic.xcc.ContentSourceFactory.newContentSource(ConnectionProvider, String, String, String)
  com.marklogic.xcc.ContentSourceFactory.newContentSource(String, int, String, String)
  com.marklogic.xcc.ContentSourceFactory.newContentSource(String, int, String, String, String)
  com.marklogic.xcc.ContentSourceFactory.newContentSource(String, int, String, String, String, SecurityOptions)
  com.marklogic.xcc.ContentSource.newSession(String, String)
  com.marklogic.xcc.ContentSource.newSession(String, String, String)
  com.marklogic.xcc.spi.ServerConnection.setTimeoutMillis(long) Use `ServerConnection.setTimeoutTime(long)` instead.
  com.marklogic.xcc.Session.setTransactionMode(Session.TransactionMode)

Copyright © 2025 MarkLogic Corporation. All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com