Share via


MetadataCompatibilityOptionsBuilder.WithTargetCompatibilityMode Method

Definition

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.

Applies to