Export (0) Print
Expand All

ModelComponentCollection Class

 

Applies To: SQL Server 2016 Preview

Contains a collection of ModelComponent objects.

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

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

[GuidAttribute("74BB3312-550A-4f1f-BECF-80422AC163C6")]
[DefaultMemberAttribute("Item")]
public abstract class ModelComponentCollection : IModelComponentCollection, 
	IList, ICollection, IEnumerable, IOnDemandLoadableCollection

NameDescription
System_CAPS_protmethodModelComponentCollection(IModelComponent)

Initializes a new instance of the ModelComponentCollection class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of ModelComponent objects in the ModelComponentCollection.

System_CAPS_protpropertyDemandLoadingService

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the demand loading service for the collection.

System_CAPS_pubpropertyIsFixedSize

Gets a value indicating whether the ModelComponentCollection has a fixed size.

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the ModelComponentCollection is read-only.

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe).

System_CAPS_protpropertyItem[Int32]

Gets the IModelComponent at the specified index.

System_CAPS_protpropertyItemsType

Gets the Type of objects that can be contained by the ModelComponentCollection.

System_CAPS_pubpropertyParent

Gets the IModelComponent that contains the ModelComponentCollection.

System_CAPS_protpropertyPreloadable

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a value indicating whether the collection can be preloaded.

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the ModelComponentCollection.

NameDescription
System_CAPS_protmethodAdd(ModelComponent)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a ModelComponent object to the ModelComponentCollection.

System_CAPS_protmethodAdd(ModelComponent, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a ModelComponent object to the ModelComponentCollection.

System_CAPS_protmethodAdd(String, IModelComponent)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a IModelComponent object to the ModelComponentCollection.

System_CAPS_protmethodAdd(String, IModelComponent, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a IModelComponent object to the ModelComponentCollection.

System_CAPS_protmethodAddNew(String, String, Type)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a new IModelComponent to the collection.

System_CAPS_protmethodAddNew(String, Type)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a new IModelComponent to the collection.

System_CAPS_pubmethodCanAdd(ModelComponent, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Indicates whether the collection can add a ModelComponent.

System_CAPS_protmethodChangeKey(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Changes the specified keys to the collection.

System_CAPS_pubmethodClear()

Removes all elements from the ModelComponentCollection.

System_CAPS_protmethodContains(IModelComponent)

Determines whether the specified item is in the collection.

System_CAPS_protmethodContains(String)

Determines whether an item with the specified key is in the ModelComponentCollection.

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array.

System_CAPS_protmethodEnsureLoaded()

This API supports the product infrastructure and is not intended to be used directly from your code. Ensures the collection is loaded.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can iterate through the ModelComponentCollection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetItem(String, Boolean, String)

Gets a reference to the specified component.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodIndexOf(IModelComponent)

Searches for the specified item and returns its zero-based index within the collection.

System_CAPS_protmethodIndexOf(String)

Returns the zero-based index of the first occurrence of an IModelComponent that has the specified key in the ModelComponentCollection.

System_CAPS_protmethodInsert(IModelComponent, String, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Inserts an IModelComponent in the ModelComponentCollection.

System_CAPS_protmethodInsert(IModelComponent, String, Int32, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Inserts an IModelComponent in the ModelComponentCollection.

System_CAPS_protmethodInsert(Int32, ModelComponent)

This API supports the product infrastructure and is not intended to be used directly from your code. Inserts an ModelComponent in the ModelComponentCollection.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodRemove(IModelComponent)

Removes the specified IModelComponent from the collection.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the IModelComponent at the specified index from the ModelComponentCollection.

System_CAPS_pubmethodRemoveAt(Int32, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes the IModelComponent at the specified index from the ModelComponentCollection.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventCollectionChanged

This API supports the product infrastructure and is not intended to be used directly from your code. Occurs when the collection changes.

System_CAPS_pubeventCollectionChanging

This API supports the product infrastructure and is not intended to be used directly from your code. Occurs when the collection is changing.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIOnDemandLoadableCollection.BlockOnDemandLoad(Boolean)

Specifies the blocked demand load.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection.Contains(IModelComponent)

Indicates whether the collection contains a specific value.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection.Remove(IModelComponent)

Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection.Remove(IModelComponent, Boolean)

Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Adds an item to the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Clear()

Removes all items from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

Indicates whether the collection contains a specific value.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

Determines the index of a specific item in the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Inserts an item to the collection at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Removes the first occurrence of a specified object from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.RemoveAt(Int32)

Removes the item at the specified index.

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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft