Share via


Database.CompatibilityLevel Property

Gets or sets the compatibility level for the database.

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

Syntax

'Declaration
<PropertyOrderAttribute()> _
Public Property CompatibilityLevel As Integer 
    Get 
    Set
'Usage
Dim instance As Database 
Dim value As Integer 

value = instance.CompatibilityLevel

instance.CompatibilityLevel = value
[PropertyOrderAttribute()]
public int CompatibilityLevel { get; set; }
[PropertyOrderAttribute()]
public:
property int CompatibilityLevel {
    int get ();
    void set (int value);
}
[<PropertyOrderAttribute()>]
member CompatibilityLevel : int with get, set
function get CompatibilityLevel () : int 
function set CompatibilityLevel (value : int)

Property Value

Type: System.Int32
The compatibility level of the database.

See Also

Reference

Database Class

Microsoft.AnalysisServices Namespace