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-12-05T02:11:11Z",
  "LockIssuedDateTime": "2024-12-05T02:11:11Z",
  "UserName": "sample string 3",
  "TimeRemaining": 4.0,
  "UserId": "a6d60fb1-ed2e-41dd-9f0d-14cb42eede55",
  "Comments": "sample string 6",
  "Host": "sample string 7"
}