UnlockObject (Role Interface)
![]() |
---|
Dieses Feature wird in der nächsten Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature nicht zum Entwickeln neuer Anwendungen, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird, zum frühstmöglichen Zeitpunkt ein. |
The UnlockObject method of the Role interface releases a lock on a role object that has been previously established by the LockObject method.
Applies To:clsDatabaseRole
Syntax
object.UnlockObject
Parameter
- object
The role object from which to remove a lock.
Hinweise
If an application that created one or more locks terminates before freeing them with the UnlockObject method, the Analysis server automatically releases the locks when the connection with the application is closed.