Share via


MetadataSerializationOptionsBuilder.WithCompatibilityOptions Method

Definition

Sets the compatibility options that should be used during the serialization.

public Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptionsBuilder WithCompatibilityOptions (Microsoft.AnalysisServices.Tabular.Serialization.MetadataCompatibilityOptions compatibilityOptions);
member this.WithCompatibilityOptions : Microsoft.AnalysisServices.Tabular.Serialization.MetadataCompatibilityOptions -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptionsBuilder
Public Function WithCompatibilityOptions (compatibilityOptions As MetadataCompatibilityOptions) As MetadataSerializationOptionsBuilder

Parameters

compatibilityOptions
MetadataCompatibilityOptions

The formating options

Returns

The same instance of the MetadataSerializationOptionsBuilder.

Exceptions

The specified options instance is a null reference (Nothing in Visual Basic).

Applies to