Compartilhar via


Set Class

Definition

Set object.

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

Remarks

This metadata object is only supported at database compatibility level of 1400 or above for Pbi server.

Constructors

Set()

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

Properties

Annotations

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

Description

The description of the set

DisplayFolder

Defines the display folder for the Measure, for use by clients.

ErrorMessage

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

Expression

The DAX expression that is evaluated for the calculated set.

ExtendedProperties

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

IsDynamic

Indicates whether the set is static or dynamic

IsHidden

A boolean value that indicates whether the set is treated as hidden by client visualization tools. True if the set is treated as hidden by client visualization tools; otherwise false.

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.

Name

Gets or Sets the Name of this object.

ObjectType

Gets the type of the object.

Parent

Parent object, null for Model objects.

State

Provides information on the state of the set. Possible values and their interpretation are as follows. Ready (1) The set is queryable and has up-to-date data. NoData (3) Not applicable to Set. CalculationNeeded (4) Not applicable to Set. SemanticError (5) The set expression has a semantic error. EvaluationError (6) Not applicable to Set. DependencyError (7) A dependency associated with this set is in an error state (SemanticError, EvaluationError, or DependencyError). Incomplete (8) Not applicable to Set. SyntaxError (9) The measure has a syntax error in its expression.

StructureModifiedTime

The time that the structure of the object was last modified.

Table

A reference to a Table object that owns this Set.

Methods

Clone()

Creates a new, full copy of a Set object.

CopyFrom(Set)
Obsolete.

Deprecated. Use CopyTo method instead.

CopyTo(Set)

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