LockObject (clsServer)

注意注意

  この機能は、Microsoft SQL Server の次のバージョンで削除されます。 新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションはできるだけ早く修正してください。

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

構文

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

パラメーター

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

説明

For more information about object locking, see LockObject.

関連項目

参照