共用方式為


Level Class

Definition

Represents a level in a hierarchy that provides a logical hierarchical drilldown path for client applications. It is a child of a Hierarchy object. The level is based on the values in a column.

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

Constructors

Level()

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

Properties

Annotations

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

ChangedProperties

Gets the collection object of all changedproperties in the current Level.

Column

A reference to a Column object associated with this Level.

Description

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

ExtendedProperties

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

Hierarchy

A reference to a Hierarchy object that owns this level.

IsRemoved

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

(Inherited from MetadataObject)
LineageTag

A tag that represents the lineage of the object.

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.

Ordinal

The position of the level within the hierarchy. The levels in the hierarchy must be properly ordered, starting with 1 and increasing monotonically.

Parent

Parent object, null for Model objects.

SourceLineageTag

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

Methods

Clone()

Creates a new, full copy of a Level object.

CopyFrom(Level)
Obsolete.

Deprecated. Use CopyTo method instead.

CopyTo(Level)

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