MetadataCompatibilityOptionsBuilder.WithTargetCompatibilityMode 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-mode that is targeted during the metadata content serialization.
public Microsoft.AnalysisServices.Tabular.Serialization.MetadataCompatibilityOptionsBuilder WithTargetCompatibilityMode (Microsoft.AnalysisServices.CompatibilityMode mode);
member this.WithTargetCompatibilityMode : Microsoft.AnalysisServices.CompatibilityMode -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataCompatibilityOptionsBuilder
Public Function WithTargetCompatibilityMode (mode As CompatibilityMode) As MetadataCompatibilityOptionsBuilder
Parameters
- mode
- CompatibilityMode
The target compatibility mode.
Returns
The same instance of the MetadataCompatibilityOptionsBuilder.
Exceptions
The specified mode is invalid.