Поделиться через


UnlockObject (Role Interface)

ПримечаниеПримечание

  В следующей версии 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.

См. также

Справочник