Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Remarque : |
|---|
| 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 the Role interface locks a role object to prevent multiple users from concurrently changing the object.
Applies To:clsDatabaseRole
Syntaxe
object.LockObject(ByVal LockType As OlapLockTypes, ByVal LockDescription As String)
Paramètres
- object
The object to lock.
- LockType
One of the lock types defined in the OlapLockTypes enumeration. Because a Role object has no dependent objects and cannot be processed, the only valid options for LockType are olapLockRead and olapLockWrite. For more information, see OlapLockTypes.
- LockDescription
A string containing the description of the lock, available to other applications attempting to obtain a lock.
Voir aussi
Référence
OlapLockTypes
UnlockObject (Role Interface)
LockObject (MDStore Interface)
Remarque :