UnlockAllObjects (clsServer)
注意 |
---|
この機能は、Microsoft SQL Server の次のバージョンで削除されます。 新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションはできるだけ早く修正してください。 |
The UnlockAllObjects method of an object of ClassType clsServer removes all locks issued by the current session from objects in the server's object model.
構文
bRet = object.UnlockAllObjects
パラメーター
bRet
A Boolean variable. This value is set to True if the method is successful and False otherwise.object
An object of ClassType clsServer.
使用例
The following example removes all current locks:
' Assume dsoServer is connected to Analysis Services.
dsoServer.UnlockAllObjects