Classe ModelComponentCollection

Contains a collection of ModelComponent objects.

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.AnalysisServices..::..ModelComponentCollection
    Altro...

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
<GuidAttribute("74BB3312-550A-4f1f-BECF-80422AC163C6")> _
Public MustInherit Class ModelComponentCollection _
    Implements IModelComponentCollection, IList, ICollection, IEnumerable,  _
    IOnDemandLoadableCollection
'Utilizzo
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

Nel tipo ModelComponentCollection sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo protetto ModelComponentCollection

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Count Gets the number of ModelComponent objects in the ModelComponentCollection.
Proprietà protetta DemandLoadingService Infrastruttura.
Proprietà pubblica IsFixedSize Gets a value indicating whether the ModelComponentCollection has a fixed size.
Proprietà pubblica IsReadOnly Gets a value indicating whether the ModelComponentCollection is read-only.
Proprietà pubblica IsSynchronized Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe).
Proprietà protetta Item Gets the IModelComponent at the specified index.
Proprietà protetta ItemsType Gets the Type of objects that can be contained by the ModelComponentCollection.
Proprietà pubblica Parent Gets the IModelComponent that contains the ModelComponentCollection.
Proprietà protetta Preloadable Infrastruttura.
Proprietà pubblica SyncRoot Gets an object that can be used to synchronize access to the ModelComponentCollection.

In alto

Metodi

  Nome Descrizione
Metodo protetto Add(ModelComponent) Infrastruttura.
Metodo protetto Add(String, IModelComponent)
Metodo protetto Add(ModelComponent, Boolean) Infrastruttura.
Metodo protetto Add(String, IModelComponent, Boolean)
Metodo protetto AddNew(String, Type) Infrastruttura.
Metodo protetto AddNew(String, String, Type) Infrastruttura.
Metodo pubblico CanAdd Infrastruttura.
Metodo protetto ChangeKey Infrastruttura.
Metodo pubblico Clear Removes all elements from the ModelComponentCollection.
Metodo protetto Contains(String) Determines whether an item with the specified key is in the ModelComponentCollection.
Metodo protetto Contains(IModelComponent)
Metodo pubblico CopyTo Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array.
Metodo protetto EnsureLoaded Infrastruttura.
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetEnumerator Returns an enumerator that can iterate through the ModelComponentCollection.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo protetto GetItem Gets a reference to the specified component.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto IndexOf(String) Returns the zero-based index of the first occurrence of an IModelComponent that has the specified key in the ModelComponentCollection.
Metodo protetto IndexOf(IModelComponent)
Metodo protetto Insert(Int32, ModelComponent) Infrastruttura.
Metodo protetto Insert(IModelComponent, String, Int32)
Metodo protetto Insert(IModelComponent, String, Int32, Boolean)
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo protetto Remove
Metodo pubblico RemoveAt(Int32) Removes the IModelComponent at the specified index from the ModelComponentCollection.
Metodo pubblico RemoveAt(Int32, Boolean) Infrastruttura.
Metodo pubblico ToString Ereditato da Object.

In alto

Eventi

  Nome Descrizione
Evento pubblico CollectionChanged Infrastruttura.
Evento pubblico CollectionChanging Infrastruttura.

In alto

Osservazioni

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

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Gerarchia di ereditarietà

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