LockObject (clsServer)

Notes

  Cette fonctionnalité sera supprimée dans la prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.

The LockObject method of an object of ClassType clsServer locks the clsServer object to prevent multiple users from concurrently changing the object.

Syntaxe

object.LockObject(ByVal LockType As OlapLockTypes, ByVal LockDescription As String)

Paramètres

  • 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.

Notes

For more information about object locking, see LockObject.

Voir aussi

Référence