다음을 통해 공유


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

참고 항목

참조

clsServer

도움말 및 정보

SQL Server 2005 지원 받기