共用方式為


ICatalogReadWriteLock interface

Catalog lock state object, holds catalog lock and all info about catalog lock

Members

The ICatalogReadWriteLock interface inherits from the IDispatch interface. ICatalogReadWriteLock also has these types of members:

Methods

The ICatalogReadWriteLock interface has these methods.

Method Description
EnterReadLock method EnterReadLock - creates a read lock
EnterWriteLock method EnterWriteLock - creates a write lock
ExitNonBlockingWriteOperation method ExitNonBlockingWriteOperation - exits a non-blocking write lock
ExitReadLock method ExitReadLock - exits the read lock
ExitWriteLock method ExitWriteLock - exits the write lock
StartNonBlockingWriteOperation method StartNonBlockingWriteOperation - creates a non-blocking write lock

Properties

The ICatalogReadWriteLock interface has these properties.

Property Access type Description
IsCurrentlyNonBlockingWriteLocked
Read-only
Returns true if a catalog is currently non-blocking write locked, else false
IsCurrentlyWriteLocked
Read-only
Returns true if a catalog is currently write locked, else false

Requirements

Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
IDL
Windows.Help.Runtime.idl