sys.sp_releaseapplock

general
#stored-procedure

Description

Releases a lock on an application resource. A lock resource name specified by the client application. is binary-compared, thus is case-sensitive regardless of the collation settings of the current database. The application must ensure that the resource is unique. The specified name is hashed internally into a value that can be stored in the SQL Server lock manager.

Syntax

sp_releaseapplock
[ [ @
R esource = ]
N
'Resource'
]
[ , [ @
L ock
O wner = ]
'LockOwner'
]
[ , [ @
D b
P rincipal = ]
N
'DbPrincipal'
]
[ ; ]