DirectQueryUsage Enumeration

Specifies the current DirectQuery usage of the partition.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Enumeration DirectQueryUsage
'Usage
Dim instance As DirectQueryUsage
public enum DirectQueryUsage
public enum class DirectQueryUsage
type DirectQueryUsage
public enum DirectQueryUsage

Members

Member name Description
DirectQueryOnly Indicates that queries on the partition should use only the relational data source.
InMemoryOnly Indicates that queries on the partition should use only the in-memory data store.
InMemoryWithDirectQuery Indicates that queries against the model can use either the xVelocity in-memory analytics engine (VertiPaq) cache, or the relational data store. The in-memory data store is preferred if both are available.

Remarks

Only one partition can be enabled for DirectQuery access at a time. To use a partition in Direct Query mode, the storage mode of the model must have been previously changed to enable DirectQuery mode. For more information, see Partitions and DirectQuery Mode (SSAS Tabular).

See Also

Reference

Microsoft.AnalysisServices Namespace