Partilhar via


DetailRowsDefinition Class

Definition

Represents a DetailRowsDefinition object. It is a child of either a Measure or a Table object.

public sealed class DetailRowsDefinition : Microsoft.AnalysisServices.Tabular.MetadataObject
type DetailRowsDefinition = class
    inherit MetadataObject
Public NotInheritable Class DetailRowsDefinition
Inherits MetadataObject
Inheritance
DetailRowsDefinition

Remarks

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

Constructors

DetailRowsDefinition()

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

Properties

ErrorMessage

The string that explains the error state associated with the DetailRowsExpression. It is set by the engine only when the state of the Expression is one of these three values: SemanticError, DependencyError or SyntaxError.

Expression

Any generic DAX table expression which can be used to filter results to a specific set of columns/rows.

IsRemoved

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

(Inherited from MetadataObject)
Model

Gets the Tabular model that contains this object.

(Inherited from MetadataObject)
ModifiedTime

The time that the object was last modified.

Object

A reference to the Table/Measure object that owns this DRE.

ObjectType

Gets the type of the object.

Parent

Parent object, null for Model objects.

State

Provides information on the state of the Expression. Possible values and their interpretation are as follows. Ready (1) The Expression is queryable and has up-to-date data. SemanticError (5) The Expression has a semantic error. DependencyError (7) A dependency associated with this Expression is in an error state (SemanticError, EvaluationError, or DependencyError). SyntaxError (9) The Expression has a syntax error.

Methods

Clone()

Creates a new, full copy of a DetailRowsDefinition object.

CopyFrom(DetailRowsDefinition)
Obsolete.

Deprecated. Use CopyTo method instead.

CopyTo(DetailRowsDefinition)

Copies a DetailRowsDefinition object to the specified 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