次の方法で共有


UnlockObject (Role Interface)

ms133278.note(ja-jp,SQL.90).gifメモ :
  この機能は、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.

参照

関連項目

Role Interface

ヘルプおよび情報

SQL Server 2005 の参考資料の入手