Search Results for

    Show / Hide Table of Contents

    Method GetDatabaseInfo

    GetDatabaseInfo(String)

    Get database info

    Declaration
    DatabaseInfoContract GetDatabaseInfo(string connectionId)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    Returns
    Type Description
    DatabaseInfoContract

    Database info

    Examples

    POST http://YourServerName/InfoShare/Json/Server/GetDatabaseInfo

    Example for get database information.

    {
       "connectionId": "e3b3b164-9b0b-4d00-9981-83fe4835df1a"
    }

    Response:

    {
       "GetDatabaseInfoResult": {
         "ConnectionUser": "DCISUSR",
         "CreatedDate": "2019-09-25T12:05:12",
         "Edition": "Developer Edition (64-bit)",
         "LastBackupDate": "2019-09-20T06:12:15",
         "LogSize": 73728000,
         "Name": "DCIS_KENDOX",
         "Owner": "KENDOX\\admin",
         "ProviderType": "SQL Server",
         "RowIdentType": "bigint",
         "TotalSize": 172032000,
         "Version": "15.0.1800.32" }
    }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    Back to top Copyright © Kendox