Compartir a través de


UnlockAllObjects (clsServer)

[!NOTA]

  Esta característica se quitará en la versión siguiente de Microsoft SQL Server. No utilice esta característica en nuevos trabajos de desarrollo y modifique lo antes posible las aplicaciones que actualmente la utilizan.

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.

Sintaxis

bRet = object.UnlockAllObjects

Parámetros

  • bRet
    A Boolean variable. This value is set to True if the method is successful and False otherwise.

  • object
    An object of ClassType clsServer.

Ejemplo

The following example removes all current locks:

' Assume dsoServer is connected to Analysis Services.
dsoServer.UnlockAllObjects

Vea también

Referencia