<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.0.0" />

RemoteDatabaseContext

public class RemoteDatabaseContext
Represents a connection to a remote instance of SQL Server.
public string DatabaseName { get; }

Gets the database name associated with this RemoteDatabaseContext.

public bool IsMasterDatabase { get; }

Indicates whether or not this RemoteDatabaseContext represents a master database (EDDS).

public string ServerName { get; }

Gets the server name associated with this RemoteDatabaseContext.

public int? WorkspaceArtifactID { get; }

Gets the workspace artifact id associated with this connection. If this is a master connection, returns null.

public RemoteDatabaseContext(string serverName, string databaseName)

Initializes a new RemoteDatabaseContext with the provided server and database names.