GET api/database/maintenance/lock
Get the database lock status
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
DatabaseLockInformation| Name | Description | Type | Additional 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": "2026-03-02T17:23:47Z",
"LockIssuedDateTime": "2026-03-02T17:23:47Z",
"UserName": "sample string 3",
"TimeRemaining": 4.0,
"UserId": "d32f7240-5441-43b3-9f4c-3e658e6b0704",
"Comments": "sample string 6",
"Host": "sample string 7"
}