Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MajorObjectCollection Class

 

Applies To: SQL Server 2016 Preview

Contains a collection of MajorObject objects.

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

System.Object
  Microsoft.AnalysisServices.ModelComponentCollection
    Microsoft.AnalysisServices.NamedComponentCollection
      Microsoft.AnalysisServices.MajorObjectCollection
        Microsoft.AnalysisServices.AggregationDesignCollection
        Microsoft.AnalysisServices.AssemblyCollection
        Microsoft.AnalysisServices.CubeCollection
        Microsoft.AnalysisServices.CubePermissionCollection
        Microsoft.AnalysisServices.DatabaseCollection
        Microsoft.AnalysisServices.DatabasePermissionCollection
        Microsoft.AnalysisServices.DataSourceCollection
        Microsoft.AnalysisServices.DataSourcePermissionCollection
        Microsoft.AnalysisServices.DataSourceViewCollection
        Microsoft.AnalysisServices.DimensionCollection
        Microsoft.AnalysisServices.DimensionPermissionCollection
        Microsoft.AnalysisServices.MdxScriptCollection
        Microsoft.AnalysisServices.MeasureGroupCollection
        Microsoft.AnalysisServices.MiningModelCollection
        Microsoft.AnalysisServices.MiningModelPermissionCollection
        Microsoft.AnalysisServices.MiningStructureCollection
        Microsoft.AnalysisServices.MiningStructurePermissionCollection
        Microsoft.AnalysisServices.PartitionCollection
        Microsoft.AnalysisServices.PerspectiveCollection
        Microsoft.AnalysisServices.RoleCollection
        Microsoft.AnalysisServices.TraceCollection

[GuidAttribute("28AAE99B-1831-4017-A5CA-8F122C957C29")]
public abstract class MajorObjectCollection : NamedComponentCollection

NameDescription
System_CAPS_protmethodMajorObjectCollection(IModelComponent)

Initializes a new instance of the MajorObjectCollection class for the specified parent object.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of ModelComponent objects in the ModelComponentCollection.(Inherited from 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.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyIsFixedSize

Gets a value indicating whether the ModelComponentCollection has a fixed size.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the ModelComponentCollection is read-only.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyIsSynchronized

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

System_CAPS_protpropertyItem[Int32]

Gets the IModelComponent at the specified index.(Inherited from ModelComponentCollection.)

System_CAPS_protpropertyItemsType

Gets the Type of objects that can be contained by the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyParent

Gets the IModelComponent that contains the ModelComponentCollection.(Inherited from 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.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the ModelComponentCollection.(Inherited from ModelComponentCollection.)

NameDescription
System_CAPS_protmethodAdd(ModelComponent)

Adds a ModelComponent to the end of the MajorObjectCollection.(Overrides NamedComponentCollection.Add(ModelComponent).)

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.(Inherited from 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.(Inherited from 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.(Inherited from 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.(Inherited from ModelComponentCollection.)

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.(Inherited from ModelComponentCollection.)

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 T: HYPERLINK "http://msdn.microsoft.com/en-us/library/microsoft.analysisservices.modelcomponent" Microsoft.AnalysisServices.ModelComponent.(Inherited from NamedComponentCollection.)

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.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodClear()

Removes all elements from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_protmethodContains(IModelComponent)

Determines whether the specified item is in the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodContains(String)

Determines whether an item with the specific key is in the NamedComponentCollection.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodContainsName(String)

Indicates whether the component contains its name.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodCopyTo(Array, Int32)

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

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.(Inherited from ModelComponentCollection.)

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.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetItem(String, Boolean, String)

Gets a reference to the specified component.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodGetNewID()

Gets a new unique ID for the component.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetNewID(String)

Gets the value for the new unique ID.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetNewName()

Gets a unique new name for the component.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetNewName(String)

Gets a unique new name for the component with the specified name prefix.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodIndexOf(IModelComponent)

Searches for the specified item and returns its zero-based index within the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodIndexOf(String)

Reports the index of the first occurrence of the component.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodIndexOfName(String)

Gets the index of the NamedComponent, identified by name, in the collection.(Inherited from NamedComponentCollection.)

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.(Inherited from 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.(Inherited from ModelComponentCollection.)

System_CAPS_protmethodInsert(Int32, ModelComponent)

Inserts a ModelComponent in the MajorObjectCollection at the specified index.(Overrides NamedComponentCollection.Insert(Int32, ModelComponent).)

System_CAPS_pubmethodIsValidID(String)

Determines whether the named component collection identifier is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodIsValidID(String, String)

Determines whether the named component collection identifier is valid.(Inherited from NamedComponentCollection.)

System_CAPS_protmethodIsValidID(String, Type, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether the named component collection identifier is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodIsValidName(String)

Determines whether the named component collection name is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodIsValidName(String, String)

Determines whether the named component collection name is valid.(Inherited from NamedComponentCollection.)

System_CAPS_protmethodIsValidName(String, Type, ModelType, Int32, String)

Determines whether the named component collection name is valid.(Inherited from NamedComponentCollection.)

System_CAPS_protmethodIsValidName(String, Type, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether the named component collection name is valid.(Inherited from NamedComponentCollection.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodRemove(IModelComponent)

Removes the specified IModelComponent from the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodRemoveAt(Int32)

Removes the IModelComponent at the specified index from the ModelComponentCollection.(Inherited from 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.(Inherited from 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.(Inherited from ModelComponentCollection.)

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.(Inherited from ModelComponentCollection.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIOnDemandLoadableCollection.BlockOnDemandLoad(Boolean)

Specifies the blocked demand load.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection.Contains(IModelComponent)

Indicates whether the collection contains a specific value.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection.Remove(IModelComponent)

Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection.Remove(IModelComponent, Boolean)

Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Adds an item to the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Clear()

Removes all items from the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

Indicates whether the collection contains a specific value.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

Determines the index of a specific item in the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Inserts an item to the collection at the specified index.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Removes the first occurrence of a specified object from the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.RemoveAt(Int32)

Removes the item at the specified index.(Inherited from ModelComponentCollection.)

The MajorObjectCollection abstract class is inherited by other collection classes in Analysis Management Objects (AMO) that contain major objects (in other words, any object that implements IMajorObject).

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

Community Additions

Show:
© 2015 Microsoft