다음을 통해 공유


AlternateOf Class

Definition

Represents a AlternativeSource object. It is a child of either a Table or a Column object.

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

Remarks

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

Constructors

AlternateOf()

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

Properties

Annotations

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

BaseColumn

A reference ID to the referenced source column.

BaseTable

A reference ID to the referenced source table. You may either define BaseTable or BaseColumn, but not both.

Column

ID of the owning/parent column.

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)
ObjectType

Gets the type of the object.

Parent

Parent object, null for Model objects.

Summarization

A value indicating the summarization type used by this alternative sources' column. The possible values are GroupBy (0), Sum (1), Count (2), Min (3), Max (4).

Methods

Clone()

Creates a new, full copy of a AlternateOf object.

CopyFrom(AlternateOf)
Obsolete.

Deprecated. Use CopyTo method instead.

CopyTo(AlternateOf)

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