GET api/database/maintenance/lock

Get the database lock status

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

DatabaseLockInformation
NameDescriptionTypeAdditional information
LockType

DatabaseLockType

None.

LockEffectiveDateTime

date

None.

LockIssuedDateTime

date

None.

UserName

string

None.

TimeRemaining

decimal number

None.

UserId

globally unique identifier

None.

Comments

string

None.

LockReason

DatabaseLockReason

None.

Host

string

None.

Response Formats

application/json, text/json

Sample:
{
  "LockEffectiveDateTime": "2024-05-07T09:51:10Z",
  "LockIssuedDateTime": "2024-05-07T09:51:10Z",
  "UserName": "sample string 3",
  "TimeRemaining": 4.0,
  "UserId": "4f4bb10e-e681-4b52-bd4b-fdecbcc95787",
  "Comments": "sample string 6",
  "Host": "sample string 7"
}