共用方式為


OnlineMode Element (ASSL)

Specifies whether the database is brought back online immediately when the rebuilding of the cache is initiated, or only when the rebuilding of the cache is complete.

語法

<ProactiveCaching>
   ...
   <OnlineMode>...</OnlineMode>
   ...
</ProactiveCaching>

Element Characteristics

Characteristic Description

Data type and length

String (enumeration)

Default value

Immediate

Cardinality

0-1: Optional element that can occur once and only once.

Element Relationships

Relationship Element

Parent element

ProactiveCaching

Child elements

None

備註

The value of this element is limited to one of the strings listed in the following table.

Value Description

Immediate

Database is brought back online immediately when the rebuilding of the cache is initiated.

OnCacheComplete

Database is brought back online only when the rebuilding of the cache is complete.

The enumeration that corresponds to the allowed values for OnlineMode in the Analysis Management Objects (AMO) object model is ProactiveCaching.

請參閱

參考

ProactiveCaching Element (ASSL)

說明及資訊

取得 SQL Server 2005 協助