Freigeben über


ModelComponentCollection-Klasse

Contains a collection of ModelComponent objects.

Vererbungshierarchie

System. . :: . .Object
  Microsoft.AnalysisServices..::..ModelComponentCollection
    Mehr…

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<GuidAttribute("74BB3312-550A-4f1f-BECF-80422AC163C6")> _
Public MustInherit Class ModelComponentCollection _
    Implements IModelComponentCollection, IList, ICollection, IEnumerable,  _
    IOnDemandLoadableCollection
'Usage
Dim instance As ModelComponentCollection
[GuidAttribute("74BB3312-550A-4f1f-BECF-80422AC163C6")]
public abstract class ModelComponentCollection : IModelComponentCollection, 
    IList, ICollection, IEnumerable, IOnDemandLoadableCollection
[GuidAttribute(L"74BB3312-550A-4f1f-BECF-80422AC163C6")]
public ref class ModelComponentCollection abstract : IModelComponentCollection, 
    IList, ICollection, IEnumerable, IOnDemandLoadableCollection
[<AbstractClassAttribute>]
[<GuidAttribute("74BB3312-550A-4f1f-BECF-80422AC163C6")>]
type ModelComponentCollection =  
    class
        interface IModelComponentCollection
        interface IList
        interface ICollection
        interface IEnumerable
        interface IOnDemandLoadableCollection
    end
public abstract class ModelComponentCollection implements IModelComponentCollection, IList, ICollection, IEnumerable, IOnDemandLoadableCollection

Der ModelComponentCollection-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Geschützte Methode ModelComponentCollection

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of ModelComponent objects in the ModelComponentCollection.
Geschützte Eigenschaft DemandLoadingService Infrastruktur
Öffentliche Eigenschaft IsFixedSize Gets a value indicating whether the ModelComponentCollection has a fixed size.
Öffentliche Eigenschaft IsReadOnly Gets a value indicating whether the ModelComponentCollection is read-only.
Öffentliche Eigenschaft IsSynchronized Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe).
Geschützte Eigenschaft Item Gets the IModelComponent at the specified index.
Geschützte Eigenschaft ItemsType Gets the Type of objects that can be contained by the ModelComponentCollection.
Öffentliche Eigenschaft Parent Gets the IModelComponent that contains the ModelComponentCollection.
Geschützte Eigenschaft Preloadable Infrastruktur
Öffentliche Eigenschaft SyncRoot Gets an object that can be used to synchronize access to the ModelComponentCollection.

Zum Anfang

Methoden

  Name Beschreibung
Geschützte Methode Add(ModelComponent) Infrastruktur
Geschützte Methode Add(String, IModelComponent)
Geschützte Methode Add(ModelComponent, Boolean) Infrastruktur
Geschützte Methode Add(String, IModelComponent, Boolean)
Geschützte Methode AddNew(String, Type) Infrastruktur
Geschützte Methode AddNew(String, String, Type) Infrastruktur
Öffentliche Methode CanAdd Infrastruktur
Geschützte Methode ChangeKey Infrastruktur
Öffentliche Methode Clear Removes all elements from the ModelComponentCollection.
Geschützte Methode Contains(String) Determines whether an item with the specified key is in the ModelComponentCollection.
Geschützte Methode Contains(IModelComponent)
Öffentliche Methode CopyTo Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array.
Geschützte Methode EnsureLoaded Infrastruktur
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetEnumerator Returns an enumerator that can iterate through the ModelComponentCollection.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Geschützte Methode GetItem Gets a reference to the specified component.
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode IndexOf(String) Returns the zero-based index of the first occurrence of an IModelComponent that has the specified key in the ModelComponentCollection.
Geschützte Methode IndexOf(IModelComponent)
Geschützte Methode Insert(Int32, ModelComponent) Infrastruktur
Geschützte Methode Insert(IModelComponent, String, Int32)
Geschützte Methode Insert(IModelComponent, String, Int32, Boolean)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode Remove
Öffentliche Methode RemoveAt(Int32) Removes the IModelComponent at the specified index from the ModelComponentCollection.
Öffentliche Methode RemoveAt(Int32, Boolean) Infrastruktur
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Ereignisse

  Name Beschreibung
Öffentliches Ereignis CollectionChanged Infrastruktur
Öffentliches Ereignis CollectionChanging Infrastruktur

Zum Anfang

Hinweise

The ModelComponentCollection abstract class is inherited by other collection classes in Analysis Management Objects (AMO).

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Vererbungshierarchie

System. . :: . .Object
  Microsoft.AnalysisServices..::..ModelComponentCollection
    Microsoft.AnalysisServices. . :: . .AccountCollection
    Microsoft.AnalysisServices. . :: . .AggregationAttributeCollection
    Microsoft.AnalysisServices. . :: . .AggregationDesignAttributeCollection
    Microsoft.AnalysisServices. . :: . .AggregationDesignDimensionCollection
    Microsoft.AnalysisServices. . :: . .AggregationDimensionCollection
    Microsoft.AnalysisServices. . :: . .AggregationInstanceAttributeCollection
    Microsoft.AnalysisServices. . :: . .AggregationInstanceDimensionCollection
    Microsoft.AnalysisServices. . :: . .AggregationInstanceMeasureCollection
    Microsoft.AnalysisServices. . :: . .AttributePermissionCollection
    Microsoft.AnalysisServices. . :: . .AttributeRelationshipCollection
    Microsoft.AnalysisServices. . :: . .CalculationPropertyCollection
    Microsoft.AnalysisServices. . :: . .CellPermissionCollection
    Microsoft.AnalysisServices. . :: . .CubeAttributeCollection
    Microsoft.AnalysisServices. . :: . .CubeDimensionPermissionCollection
    Microsoft.AnalysisServices. . :: . .CubeHierarchyCollection
    Microsoft.AnalysisServices. . :: . .MeasureGroupAttributeCollection
    Microsoft.AnalysisServices. . :: . .MeasureGroupDimensionCollection
    Microsoft.AnalysisServices. . :: . .NamedComponentCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveActionCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveAttributeCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveCalculationCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveDimensionCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveHierarchyCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveKpiCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveMeasureCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveMeasureGroupCollection
    Microsoft.AnalysisServices. . :: . .TranslationCollection