EnterpriseGeodatabaseWorkspace Class

  • EnterpriseGeodatabaseWorkspace
  • class Esri::ArcGISRuntime::EnterpriseGeodatabaseWorkspace

    An enterprise geodatabase workspace. More...

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

    Public Functions

    virtual ~EnterpriseGeodatabaseWorkspace() override
    QString connection() const
    bool isLockVersion() const

    Static Public Members

    Esri::ArcGISRuntime::EnterpriseGeodatabaseWorkspace *createFromConnectionFile(const QString &id, const QString &connectionFilePath, bool lockVersion, QObject *parent = nullptr)
    Esri::ArcGISRuntime::EnterpriseGeodatabaseWorkspace *createFromConnectionString(const QString &id, const QString &connectionString, bool lockVersion, QObject *parent = nullptr)

    Detailed Description

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

    Member Function Documentation

    [override virtual] 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] Esri::ArcGISRuntime::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] Esri::ArcGISRuntime::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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.