Skip To Content ArcGIS for Developers Sign In Dashboard

EnterpriseGeodatabaseWorkspace Class

(Esri::ArcGISRuntime::EnterpriseGeodatabaseWorkspace)

An enterprise geodatabase workspace. More...

Header: #include <EnterpriseGeodatabaseWorkspace>
Since: Esri::ArcGISRuntime 100.1
Inherits: DynamicWorkspace

Public Functions

Static Public Members

EnterpriseGeodatabaseWorkspace *createFromConnectionFile(const QString &id, const QString &connectionFilePath, bool lockVersion, QObject *parent = nullptr)
EnterpriseGeodatabaseWorkspace *createFromConnectionString(const QString &id, const QString &connectionString, bool lockVersion, QObject *parent = nullptr)
  • 10 static public members inherited from QObject

Additional Inherited Members

Detailed Description

An enterprise geodatabase workspace.

Note: Local server is only available on Windows and Linux.

Member Function Documentation

EnterpriseGeodatabaseWorkspace::~EnterpriseGeodatabaseWorkspace()

Destructor.

QString EnterpriseGeodatabaseWorkspace::connection() const

Returns the connection details.

This will be either a connection string or a file path to an SDE connection file, depending on which static create method was used.

[static] EnterpriseGeodatabaseWorkspace *EnterpriseGeodatabaseWorkspace::createFromConnectionFile(const QString &id, const QString &connectionFilePath, bool lockVersion, QObject *parent = nullptr)

A static factory method to create an EnterpriseGeodatabaseWorkspace from an SDE connection file.

  • id - The workspace ID.
  • connectionFilePath - The path to an SDE connection file.
  • lockVersion - See isLockVersion.
  • parent - The optional parent.

[static] EnterpriseGeodatabaseWorkspace *EnterpriseGeodatabaseWorkspace::createFromConnectionString(const QString &id, const QString &connectionString, bool lockVersion, QObject *parent = nullptr)

A static factory method to create an EnterpriseGeodatabaseWorkspace from a connection string.

  • id - The workspace ID.
  • connectionString - A database connection string.
  • lockVersion - See isLockVersion.
  • parent - The optional parent.

bool EnterpriseGeodatabaseWorkspace::isLockVersion() const

Returns whether the connection cannot change to a different version while connected to an enterprise geodatabase.


Feedback on this topic?