Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ModelComponentCollection Class

Contains a collection of ModelComponent objects.

System.Object
  Microsoft.AnalysisServices.ModelComponentCollection
    More...

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
[GuidAttribute("74BB3312-550A-4f1f-BECF-80422AC163C6")]
public abstract class ModelComponentCollection : IModelComponentCollection, 
	IList, ICollection, IEnumerable, IOnDemandLoadableCollection

The ModelComponentCollection type exposes the following members.

  NameDescription
Protected methodModelComponentCollectionInitializes a new instance of the ModelComponentCollection class.
Top
  NameDescription
Public propertyCountGets the number of ModelComponent objects in the ModelComponentCollection.
Protected propertyDemandLoadingServiceInfrastructure. Gets the demand loading service for the collection.
Public propertyIsFixedSizeGets a value indicating whether the ModelComponentCollection has a fixed size.
Public propertyIsReadOnlyGets a value indicating whether the ModelComponentCollection is read-only.
Public propertyIsSynchronizedGets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe).
Protected propertyItemGets the IModelComponent at the specified index.
Protected propertyItemsTypeGets the Type of objects that can be contained by the ModelComponentCollection.
Public propertyParentGets the IModelComponent that contains the ModelComponentCollection.
Protected propertyPreloadableInfrastructure. Gets a value indicating whether the collection can be preloaded.
Public propertySyncRootGets an object that can be used to synchronize access to the ModelComponentCollection.
Top
  NameDescription
Protected methodAdd(ModelComponent)Infrastructure. Adds a ModelComponent object to the ModelComponentCollection.
Protected methodAdd(String, IModelComponent)Infrastructure. Adds a IModelComponent object to the ModelComponentCollection.
Protected methodAdd(ModelComponent, Boolean)Infrastructure. Adds a ModelComponent object to the ModelComponentCollection.
Protected methodAdd(String, IModelComponent, Boolean)Infrastructure. Adds a IModelComponent object to the ModelComponentCollection.
Protected methodAddNew(String, Type)Infrastructure. Adds a new IModelComponent to the collection.
Protected methodAddNew(String, String, Type)Infrastructure. Adds a new IModelComponent to the collection.
Public methodCanAddInfrastructure. Indicates whether the collection can add a ModelComponent.
Protected methodChangeKeyInfrastructure. Changes the specified keys to the collection.
Public methodClearRemoves all elements from the ModelComponentCollection.
Protected methodContains(String)Determines whether an item with the specified key is in the ModelComponentCollection.
Protected methodContains(IModelComponent)Determines whether the specified item is in the collection.
Public methodCopyToCopies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array.
Protected methodEnsureLoadedInfrastructure. Ensures the collection is loaded.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumeratorReturns an enumerator that can iterate through the ModelComponentCollection.
Public methodGetHashCode (Inherited from Object.)
Protected methodGetItemGets a reference to the specified component.
Public methodGetType (Inherited from Object.)
Protected methodIndexOf(String)Returns the zero-based index of the first occurrence of an IModelComponent that has the specified key in the ModelComponentCollection.
Protected methodIndexOf(IModelComponent)Searches for the specified item and returns its zero-based index within the collection.
Protected methodInsert(Int32, ModelComponent)Infrastructure. Inserts an ModelComponent in the ModelComponentCollection.
Protected methodInsert(IModelComponent, String, Int32)Infrastructure. Inserts an IModelComponent in the ModelComponentCollection.
Protected methodInsert(IModelComponent, String, Int32, Boolean)Infrastructure. Inserts an IModelComponent in the ModelComponentCollection.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodRemoveRemoves the specified IModelComponent from the collection.
Public methodRemoveAt(Int32)Removes the IModelComponent at the specified index from the ModelComponentCollection.
Public methodRemoveAt(Int32, Boolean)Infrastructure. Removes the IModelComponent at the specified index from the ModelComponentCollection.
Public methodToString (Inherited from Object.)
Top
  NameDescription
Public eventCollectionChangedInfrastructure. Occurs when the collection changes.
Public eventCollectionChangingInfrastructure. Occurs when the collection is changing.
Top
  NameDescription
Explicit interface implemetationPrivate methodIList.AddAdds an item to the collection.
Explicit interface implemetationPrivate methodIList.ClearRemoves all items from the collection.
Explicit interface implemetationPrivate methodIList.ContainsIndicates whether the collection contains a specific value.
Explicit interface implemetationPrivate methodIList.IndexOfDetermines the index of a specific item in the collection.
Explicit interface implemetationPrivate methodIList.InsertInserts an item to the collection at the specified index.
Explicit interface implemetationPrivate propertyIList.ItemGets or sets the element at the specified index.
Explicit interface implemetationPrivate methodIList.RemoveRemoves the first occurrence of a specified object from the collection.
Explicit interface implemetationPrivate methodIList.RemoveAtRemoves the item at the specified index.
Explicit interface implemetationPrivate methodIModelComponentCollection.ContainsIndicates whether the collection contains a specific value.
Explicit interface implemetationPrivate methodIModelComponentCollection.Remove(IModelComponent)Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.
Explicit interface implemetationPrivate methodIModelComponentCollection.Remove(IModelComponent, Boolean)Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.
Explicit interface implemetationPrivate methodIOnDemandLoadableCollection.BlockOnDemandLoadSpecifies the blocked demand load.
Explicit interface implemetationPrivate propertyIOnDemandLoadableCollection.LoadedGets or sets a value that indicates whether the collection is loaded.
Top

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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.RelationshipCollection
    Microsoft.AnalysisServices.RelationshipEndAttributeCollection
    Microsoft.AnalysisServices.TranslationCollection
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.