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.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close