Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
[!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 the Role interface locks a role object to prevent multiple users from concurrently changing the object.
Applies To:clsDatabaseRole
Sintaxis
object.LockObject(ByVal LockType As OlapLockTypes, ByVal LockDescription As String)
Parámetros
- 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.
Vea también
Referencia
OlapLockTypes
UnlockObject (Role Interface)
LockObject (MDStore Interface)