LockObject (clsServer)
Observação |
---|
Esse recurso será removido na próxima versão do Microsoft SQL Server. Não utilize esse recurso em desenvolvimentos novos e modifique, assim que possível, os aplicativos que atualmente o utilizam. |
The LockObject method of an object of ClassType clsServer locks the clsServer object to prevent multiple users from concurrently changing the object.
Sintaxe
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.