Share via


Partition.DirectQueryUsage Property

Indicates whether the partition can be used in Direct Query mode.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property DirectQueryUsage As DirectQueryUsage 
    Get 
    Set
'Usage
Dim instance As Partition 
Dim value As DirectQueryUsage 

value = instance.DirectQueryUsage

instance.DirectQueryUsage = value
[BrowsableAttribute(false)]
public DirectQueryUsage DirectQueryUsage { get; set; }
[BrowsableAttribute(false)]
public:
property DirectQueryUsage DirectQueryUsage {
    DirectQueryUsage get ();
    void set (DirectQueryUsage value);
}
[<BrowsableAttribute(false)>]
member DirectQueryUsage : DirectQueryUsage with get, set
function get DirectQueryUsage () : DirectQueryUsage 
function set DirectQueryUsage (value : DirectQueryUsage)

Property Value

Type: Microsoft.AnalysisServices.DirectQueryUsage
A DirectQueryUsage object.

Remarks

In a tabular model that is enabled for Direct Query mode, only one partition can be marked as the DirectQuery partition. For more information, see Partitions and DirectQuery Mode (SSAS Tabular).

See Also

Reference

Partition Class

Microsoft.AnalysisServices Namespace