Export (0) Print
Expand All

AttributeRelationshipCollection Class

Contains a collection of AttributeRelationship objects. This class cannot be inherited.

System.Object
  Microsoft.AnalysisServices.ModelComponentCollection
    Microsoft.AnalysisServices.AttributeRelationshipCollection

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

[GuidAttribute("C43BCBCC-4DF3-4b26-88DB-93D058F4315C")]
public sealed class AttributeRelationshipCollection : ModelComponentCollection

The AttributeRelationshipCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of ModelComponent objects in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyDemandLoadingServiceInfrastructure. (Inherited from ModelComponentCollection.)
Public propertyIsFixedSizeGets a value indicating whether the ModelComponentCollection has a fixed size. (Inherited from ModelComponentCollection.)
Public propertyIsReadOnlyGets a value indicating whether the ModelComponentCollection is read-only. (Inherited from ModelComponentCollection.)
Public propertyIsSynchronizedGets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Inherited from ModelComponentCollection.)
Public propertyItem[Int32]Gets the specified AttributeRelationship object from the collection at the index.
Public propertyItem[String]Gets the specified AttributeRelationship object from the collection.
Protected propertyItemsTypeGets the Type of objects that can be contained by the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public propertyParentGets the IModelComponent that contains the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyPreloadableInfrastructure. (Inherited from ModelComponentCollection.)
Public propertySyncRootGets an object that can be used to synchronize access to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Top

  NameDescription
Public methodAdd(String)Creates and adds the AttributeRelationship, which is defined by attributeID, to the end of the collection.
Public methodAdd(AttributeRelationship)Adds the specified AttributeRelationship to the end of the collection.
Protected methodAdd(ModelComponent)Infrastructure. (Inherited from ModelComponentCollection.)
Protected methodAdd(String, IModelComponent) (Inherited from ModelComponentCollection.)
Protected methodAdd(ModelComponent, Boolean)Infrastructure. (Inherited from ModelComponentCollection.)
Protected methodAdd(String, IModelComponent, Boolean) (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, Type)Infrastructure. (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, String, Type)Infrastructure. (Inherited from ModelComponentCollection.)
Public methodCanAddInfrastructure. (Inherited from ModelComponentCollection.)
Protected methodChangeKeyInfrastructure. (Inherited from ModelComponentCollection.)
Public methodClearRemoves all elements from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodContains(String)Indicates whether the collection contains the AttributeRelationship, identified by attributeId
Public methodContains(AttributeRelationship)Indicates whether the collection contains the specified AttributeRelationship.
Protected methodContains(IModelComponent) (Inherited from ModelComponentCollection.)
Public methodContainsNameIndicates whether the collection contains a AttributeRelationship with the specified name
Public methodCopyToCopies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Inherited from ModelComponentCollection.)
Protected methodEnsureLoadedInfrastructure. (Inherited from ModelComponentCollection.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindGets the AttributeRelationship, with the specified attributeId, from the collection.
Public methodGetEnumeratorReturns an enumerator that can iterate through the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetItemGets a reference to the specified component. (Inherited from ModelComponentCollection.)
Public methodGetNewNameAssists in creating new consecutive numbered names that start with namePrefix.
Public methodGetType (Inherited from Object.)
Public methodIndexOf(String)Gets the index of a AttributeRelationship, identified by attributeId, in the collection.
Public methodIndexOf(AttributeRelationship)Gets the index of a specified AttributeRelationship in the collection.
Protected methodIndexOf(IModelComponent) (Inherited from ModelComponentCollection.)
Public methodIndexOfNameGets the index of a AttributeRelationship, identified by name, in the collection.
Public methodInsert(Int32, AttributeRelationship)Inserts the specified AttributeRelationship into the collection at the location specified by index.
Public methodInsert(Int32, String)Creates and inserts the specified AttributeRelationship into the collection at the specified index.
Protected methodInsert(Int32, ModelComponent)Infrastructure. (Inherited from ModelComponentCollection.)
Protected methodInsert(IModelComponent, String, Int32) (Inherited from ModelComponentCollection.)
Protected methodInsert(IModelComponent, String, Int32, Boolean) (Inherited from ModelComponentCollection.)
Public methodIsValidName(String)Verifies that the specified name is a valid name for an AttributeRelationship.
Public methodIsValidName(String, String)Verifies that the specified name is a valid name for an AttributeRelationship and returns the error message if it the name is not valid.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMove(Int32, Int32)Moves a specified AttributeRelationship from one position to another position in the collection.
Public methodMove(String, Int32)Moves the specified AttributeRelationship into the collection at the specified index position.
Public methodMove(AttributeRelationship, Int32)Moves a specified AttributeRelationship to a new index position in the collection.
Public methodRemove(String)Removes an AttributeRelationship, identified by attributeId, from the collection.
Public methodRemove(AttributeRelationship)Removes the specified AttributeRelationship from the collection.
Protected methodRemove(IModelComponent) (Inherited from ModelComponentCollection.)
Public methodRemove(String, Boolean)Infrastructure.
Public methodRemove(AttributeRelationship, Boolean)Infrastructure.
Public methodRemoveAt(Int32)Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodRemoveAt(Int32, Boolean)Infrastructure. (Inherited from ModelComponentCollection.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public eventCollectionChangedInfrastructure. (Inherited from ModelComponentCollection.)
Public eventCollectionChangingInfrastructure. (Inherited from ModelComponentCollection.)
Top

New: 17 July 2006

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft