![]() |
---|
下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。 |
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
语法
object.UnlockObject
参数
- object
The role object from which to remove a lock.
备注
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.