DirectQueryMode Enumeration

Indicates whether a tabular model is enabled for use in Direct Query mode.

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

Syntax

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

Members

Member name Description
DirectQuery Indicates that queries against the model should reference only the relational data source.
DirectQueryWithInMemory Indicates that queries against the model should reference primarily the relational data source but can use the cache if available.
InMemory Indicates that queries against the model should use only the in-memory data store.
InMemoryWithDirectQuery Indicates that queries against the model should reference the xVelocity in-memory analytics engine (VertiPaq) cache first, and then the relational data source.

Remarks

After the model has been enabled for Direct Query access, you must also set a property on the data source that specifies whether to use Direct Query only, or to use a hybrid mode. For more information, see DirectQuery Mode (SSAS Tabular).

See Also

Reference

Microsoft.AnalysisServices Namespace