Share via


MetadataDeserializationOptionsBuilder.WithCompatibilityOptions Method

Definition

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

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

Parameters

compatibilityOptions
MetadataCompatibilityOptions

The formating options

Returns

The same instance of the MetadataDeserializationOptionsBuilder.

Exceptions

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

Applies to