Udostępnij za pośrednictwem


DataCoverageDefinition Class

Definition

A tabular DataCoverageDefinition object. The expression defined on this object gives hint about the data in a partition.

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

Remarks

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

Constructors

DataCoverageDefinition()

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

Properties

Annotations

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

Description

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

ErrorMessage

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

Expression

The DAX expression that is evaluated for the DataCoverageDefinition.

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.

ObjectType

Gets the type of the object.

Parent

Parent object, null for Model objects.

Partition

A reference to the Partition object that owns the DataCoverageDefinition.

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. CalculationNeeded (4): The Expression is not queryable and needs to be refreshed to become functional. SemanticError (5) The Expression has a semantic error. DependencyError (7) A dependency associated with the 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 DataCoverageDefinition object.

CopyFrom(DataCoverageDefinition)
Obsolete.

Deprecated. Use CopyTo method instead.

CopyTo(DataCoverageDefinition)

Copies a DataCoverageDefinition 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