次の方法で共有


OlapLockTypes

ms133874.note(ja-jp,SQL.90).gifメモ :
  この機能は、Microsoft SQL Server の次のバージョンで削除されます。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションはできるだけ早く修正してください。

Enumerates values for the LockType parameter of the LockObject method, implemented by most objects in the Decision Support Objects (DSO) library.

Constant Description

olapLockExtendedRead

The object's properties can be read by other applications, but they cannot be changed or processed. This lock is used to prevent processing of dependent objects of an object that is being processed, such as dimensions that are shared by multiple cubes. Multiple olapLockExtendedRead locks can be applied to an object by multiple applications. However, no application can lock the object for processing or updating until all olapLockExtendedRead locks have been released.

olapLockProcess

The object's Process method can be initiated, and other applications can read the object's properties only until the lock is released. Only one olapLockProcess lock can be applied to an object at a time, and other applications can only apply olapLockRead locks while the olapLockProcess lock is in place.

olapLockRead

The properties of the object can be read from the repository and cannot be changed by another application until the lock is released. Other applications can issue olapLockRead, olapLockExtendedRead, and olapLockProcess locks, but not olapLockWrite locks, while the initial olapLockRead lock is in place.

olapLockWrite

The properties of the object can be modified in the repository using the Update method, and they are not available to other applications for any use until the lock is released. No other locks of any type can be applied to the object until the olapLockWrite lock is released.

参照

関連項目

LockObject (MDStore Interface)

ヘルプおよび情報

SQL Server 2005 の参考資料の入手