Freigeben über


UnlockAllObjects (clsServer)

HinweisHinweis

  Diese Funktion wird in der nächsten Version von Microsoft SQL Server entfernt. Verwenden Sie diese Funktion beim Entwickeln neuer Anwendungen nicht, und planen Sie so bald wie möglich das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

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.

Syntax

bRet = object.UnlockAllObjects

Parameter

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

  • object
    An object of ClassType clsServer.

Beispiel

The following example removes all current locks:

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

Siehe auch

Verweis