NamedExpression Class

Definition

A named expression that can be used by one or more partitions.

public sealed class NamedExpression : Microsoft.AnalysisServices.Tabular.NamedMetadataObject, Microsoft.AnalysisServices.Tabular.IMetadataObjectWithLineage
type NamedExpression = class
    inherit NamedMetadataObject
    interface IMetadataObjectWithLineage
Public NotInheritable Class NamedExpression
Inherits NamedMetadataObject
Implements IMetadataObjectWithLineage
Inheritance
Implements

Remarks

This metadata object is only supported when the compatibility level of the database is at 1400 or above.

Constructors

NamedExpression()

Create a new instance of the NamedExpression class with default settings.

Properties

Annotations

Gets the collection object of all annotations in the current NamedExpression.

Description

The description of the expression, visible to developers at design time and to administrators in management tools, such as SQL Server Management Studio.

Expression

The expression text.

ExpressionSource

A reference to the NamedExpression where the parameter associated with the remote model.

ExtendedProperties

Gets the collection object of all extendedproperties in the current NamedExpression.

IsRemoved

A Boolean specifying whether this object was removed from an object tree.

(Inherited from MetadataObject)
Kind

The dialect of the expression.

LineageTag

A tag that represents the lineage of the object.

MAttributes

The string that has M attributes.

Model

Gets the Tabular model that contains this object.

(Inherited from MetadataObject)
ModifiedTime

The time that the object was last modified.

Name

Gets or Sets the Name of this object.

ObjectType

Gets the type of the object.

ParameterValuesColumn

Client tools apply filters to this column using M parameter. The presence of this property indicates model owner allows Dax queries to override this parameter, and columns data type must match the type specified in the meta tag of the parameter..

Parent

Parent object, null for Model objects.

QueryGroup

QueryGroup associated with the expression.

RemoteParameterName

The parameter name defined in source model, applicable only for proxy model and empty for local model.

SourceLineageTag

A tag that represents the lineage of the source for the object.

Methods

Clone()

Creates a new, full copy of a NamedExpression object.

CopyFrom(NamedExpression)
Obsolete.

Deprecated. Use CopyTo method instead.

CopyTo(NamedExpression)

Copies a NamedExpression object to the specified object.

Rename(String)
Obsolete.

Deprecated. Use RequestRename method instead.

RequestRename(String)

Request rename of this object.

Validate()

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

(Inherited from MetadataObject)

Applies to