Share via


UnlockObject (MDStore Interface)

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

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

Syntax

object.UnlockObject    

Parameters

  • object
    The MDStore object to unlock.

Remarks

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.