Condividi tramite


VariationCollection Class

Definition

Collection of Variation objects.

public sealed class VariationCollection : Microsoft.AnalysisServices.Tabular.NamedMetadataObjectCollection<Microsoft.AnalysisServices.Tabular.Variation,Microsoft.AnalysisServices.Tabular.Column>
type VariationCollection = class
    inherit NamedMetadataObjectCollection<Variation, Column>
Public NotInheritable Class VariationCollection
Inherits NamedMetadataObjectCollection(Of Variation, Column)
Inheritance

Remarks

This collection is only supported for Pbi server, at database compatibility level of 1400 or above for Box server, at database compatibility level of 1400 or above for Excel server.

Properties

Count

Returns a count of the items in the collection.

(Inherited from MetadataObjectCollection<T,P>)
IsReadOnly

A Boolean indicating whether the collection is read-only.

(Inherited from MetadataObjectCollection<T,P>)
Item[Int32]

Indexes by the object's index position in the collection.

(Inherited from MetadataObjectCollection<T,P>)
Item[String]

Gets the index in the collection of the named metadata object with the specified name.

(Inherited from NamedMetadataObjectCollection<T,P>)
Parent

Gets the parent object of the MetadataObject collection.

(Inherited from MetadataObjectCollection<T,P>)

Methods

Add(T)

Add by Type.

(Inherited from MetadataObjectCollection<T,P>)
Clear()

Empties the collection of all objects.

(Inherited from MetadataObjectCollection<T,P>)
Contains(String)

A Boolean that determines whether objects in the collection are contained by Name.

(Inherited from NamedMetadataObjectCollection<T,P>)
Contains(T)

A Boolean specifying whether the collection contains objects by Type.

(Inherited from MetadataObjectCollection<T,P>)
ContainsName(String)

A Boolean that determines whether the index contains the specified object name.

(Inherited from NamedMetadataObjectCollection<T,P>)
CopyTo(T[], Int32)

Copies a collection to another object in the Model tree.

(Inherited from MetadataObjectCollection<T,P>)
Find(String)

Finds an object in the collection by Name.

(Inherited from NamedMetadataObjectCollection<T,P>)
GetEnumerator()

Enumerates the items in a collection.

(Inherited from MetadataObjectCollection<T,P>)
GetNewName()

Gets a unique new name for the object.

(Inherited from NamedMetadataObjectCollection<T,P>)
GetNewName(String)

Gets a unique new name for the object with the specified name prefix.

(Inherited from NamedMetadataObjectCollection<T,P>)
IndexOf(T)

Index lookup by Type.

(Inherited from MetadataObjectCollection<T,P>)
Remove(String)

Remove an object from the NamedMetadataobject Collection by Name.

(Inherited from NamedMetadataObjectCollection<T,P>)
Remove(T)

Remove by Type.

(Inherited from MetadataObjectCollection<T,P>)

Explicit Interface Implementations

ICollection<T>.Clear() (Inherited from MetadataObjectCollection<T,P>)
ICollection<T>.CopyTo(T[], Int32) (Inherited from MetadataObjectCollection<T,P>)
ICollection<T>.Count (Inherited from MetadataObjectCollection<T,P>)
ICollection<T>.IsReadOnly (Inherited from MetadataObjectCollection<T,P>)
ICollection<T>.Remove(T) (Inherited from MetadataObjectCollection<T,P>)
IEnumerable.GetEnumerator() (Inherited from MetadataObjectCollection<T,P>)
IEnumerable<T>.GetEnumerator() (Inherited from MetadataObjectCollection<T,P>)

Applies to