MetadataCompatibilityOptionsBuilder.WithTargetCompatibilityLevel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets on the options the compatibility-level that is targeted during the metadata content serialization.
public Microsoft.AnalysisServices.Tabular.Serialization.MetadataCompatibilityOptionsBuilder WithTargetCompatibilityLevel (int level);
member this.WithTargetCompatibilityLevel : int -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataCompatibilityOptionsBuilder
Public Function WithTargetCompatibilityLevel (level As Integer) As MetadataCompatibilityOptionsBuilder
Parameters
- level
- Int32
The target compatibility-level.
Returns
The same instance of the MetadataCompatibilityOptionsBuilder.
Exceptions
The specified level is invalid.