LockObject (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 LockObject method of an object of ClassType clsServer locks the clsServer object to prevent multiple users from concurrently changing the object.
Sintaxis
object.LockObject(ByVal LockType As OlapLockTypes, ByVal LockDescription As String)
Parámetros
object
An object of ClassType clsServer.LockType
One of the constants defined in the OlapLockTypes enumeration. For more information, see OlapLockTypes.sLockDescription
A string containing the description of the lock, available to other applications attempting to obtain a lock.