Condividi tramite


UnlockObject (MDStore Interface)

[!NOTA]

  Questa caratteristica verrà rimossa a partire dalla prossima versione di Microsoft SQL Server. Non utilizzare questa caratteristica in un nuovo progetto di sviluppo e modificare non appena possibile le applicazioni in cui è attualmente implementata.

The UnlockObject method of the MDStore interface releases a lock on an MDStore object previously established by the LockObject method.

Applies To:clsCube, clsDatabase, clsPartition

Sintassi

object.UnlockObject    

Parametri

  • object
    The MDStore object to unlock.

Osservazioni

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.