Condividi tramite


LockObject (clsServer)

[!NOTA]   Questa funzionalità verrà rimossa a partire dalla prossima versione di Microsoft SQL Server. Non utilizzare questa funzionalità in un nuovo progetto di sviluppo e modificare appena possibile le applicazioni in cui questa funzionalità viene utilizzata.

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

Sintassi

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

Parametri

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

Osservazioni

For more information about object locking, see LockObject.

Vedere anche

Riferimento

clsServer

Guida in linea e informazioni

Assistenza su SQL Server 2005