GET api/database/maintenance/lock
Get the database lock status
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
DatabaseLockInformationName | 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": "2025-04-18T19:20:21Z", "LockIssuedDateTime": "2025-04-18T19:20:21Z", "UserName": "sample string 3", "TimeRemaining": 4.0, "UserId": "2e271ddd-43dc-424c-be80-a2c8b6c38164", "Comments": "sample string 6", "Host": "sample string 7" }