Share via


MetadataSchemaSerializationOptionsBuilder.WithCompatibilityOptions Method

Definition

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

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

Parameters

compatibilityOptions
MetadataCompatibilityOptions

The formating options

Returns

The same instance of the MetadataSchemaSerializationOptionsBuilder.

Exceptions

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

Applies to