TmdlSerializationOptions Class

Definition

Represents an extended serialization configuration that can be applied during metadata serialization to TMDL.

public sealed class TmdlSerializationOptions : Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptions
type TmdlSerializationOptions = class
    inherit MetadataSerializationOptions
Public NotInheritable Class TmdlSerializationOptions
Inherits MetadataSerializationOptions
Inheritance
TmdlSerializationOptions

Properties

Name Description
Compatibility

Gets an optional compatibility options that should be used when serializing the metadata.

(Inherited from MetadataSerializationOptions)
ExcludeMetadataOrderHints

Gets an indication if the serialized TMDL content should not include hints for the order of metadata elements; default is false, indicating to included in the generated TMDL.

ExpressionTrimStyle

Gets the style in which whitespaces in lines in an expression block, are trimmed when serialized into TMDL text; default is NoTrim.

Formatting

Gets an optional formatting options that should be used when generating the metadata content.

(Inherited from MetadataSerializationOptions)
IncludeChildren

Gets an indication if the children of the root object should also be serialized, or only the root object.

(Inherited from MetadataSerializationOptions)
IncludeInferredDataTypes

Gets an indication if the serialized output should include inferred data-types or only the data-types that were explicitly set by the user.

(Inherited from MetadataSerializationOptions)
IncludeRestrictedInformation

Gets an indication if the serialized output should include restricted information or only the curated version of the data.

(Inherited from MetadataSerializationOptions)
TmdlDefault

Gets the default options for TMDL metadata serialization activity.

Explicit Interface Implementations

Name Description
ICloneable.Clone() (Inherited from MetadataSerializationOptions)

Extension Methods

Name Description
WithChildrenMetadata(MetadataSerializationOptions)

Sets the indication that the children of the root object should also be serialized, and not only the root object.

WithCompatibilityOptions(MetadataSerializationOptions, MetadataCompatibilityOptions)

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

WithExpressionTrimStyle(TmdlSerializationOptions, TmdlExpressionTrimStyle)

Sets the style in which whitespaces in lines in an expression block, are trimmed when serialized into TMDL text.

WithFormattingOptions(MetadataSerializationOptions, MetadataFormattingOptions)

Sets the formatting options that should be used when generating the metadata content.

WithInferredDataTypes(MetadataSerializationOptions)

Sets the indication that the serialized output should include inferred data-types and not just data-types that are explicitly set by the user.

WithMetadataOrderHints(TmdlSerializationOptions)

Sets an indication that metadata-order hints should be included in the generated TMDL content.

WithoutChildrenMetadata(MetadataSerializationOptions)

Reset the indication that the children of the root object should also be serialized, to include only the root object.

WithoutCompatibilityOptions(MetadataSerializationOptions)

Resets the compatibility options that should be used during the serialization, and restore the default options.

WithoutFormattingOptions(MetadataSerializationOptions)

Resets the formatting options that should be used when generating the metadata content, and restore the default options.

WithoutInferredDataTypes(MetadataSerializationOptions)

Resets the indication that the serialized output should include inferred data-types, so it will only include data-types that are explicitly set by the user.

WithoutMetadataOrderHints(TmdlSerializationOptions)

Sets an indication that metadata-order hints should not be included in the generated TMDL content.

WithoutRestrictedInformation(MetadataSerializationOptions)

Reset the indication that the serialized output should not include restricted information, just the curated version of the data.

WithRestrictedInformation(MetadataSerializationOptions)

Sets the indication that the serialized output should include restricted information and not the curated version of the data.

Applies to