AttributeRelationshipCollection Class
TOC
Collapse the table of content
Expand the table of content

AttributeRelationshipCollection Class

 

Applies To: SQL Server (starting with 2016)

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

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

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

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

NameDescription
System_CAPS_pubpropertyCount

Gets the number of ModelComponent objects in the ModelComponentCollection.(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_pubpropertyItem[Int32]

Gets the AttributeRelationship object from the collection at the specified index.

System_CAPS_pubpropertyItem[String]

Gets the AttributeRelationship object from the collection with the given attribute identifier.

System_CAPS_pubpropertyParent

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

Adds the specified AttributeRelationship to the end of the collection.

System_CAPS_protmethodAdd(ModelComponent)
System_CAPS_protmethodAdd(ModelComponent, Boolean)
System_CAPS_pubmethodAdd(String)

Creates and adds the AttributeRelationship, which is defined by attributeID, to the end of the collection.

System_CAPS_pubmethodCanAdd(ModelComponent, String)

Indicates whether the collection can add a ModelComponent.(Inherited from ModelComponentCollection.)

System_CAPS_protmethodChangeKey(String, String)

Changes the specified keys to the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodClear()

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

System_CAPS_pubmethodContains(AttributeRelationship)

Indicates whether the collection contains the specified AttributeRelationship.

System_CAPS_pubmethodContains(String)

Indicates whether the collection contains the AttributeRelationship, identified by attributeId

System_CAPS_pubmethodContainsName(String)

Indicates whether the collection contains a AttributeRelationship with the specified name

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_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodFind(String)

Gets the AttributeRelationship, with the specified attributeId, from the collection.

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can iterate through the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetNewName(String)

Assists in creating new consecutive numbered names that start with namePrefix.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(AttributeRelationship)

Gets the index of the specified AttributeRelationship in the collection.

System_CAPS_pubmethodIndexOf(String)

Gets the index of the AttributeRelationship, identified by attributeId, in the collection.

System_CAPS_pubmethodIndexOfName(String)

Gets the index of a AttributeRelationship, identified by name, in the collection.

System_CAPS_pubmethodInsert(Int32, AttributeRelationship)

Inserts the specified AttributeRelationship into the collection at the location specified by index.

System_CAPS_protmethodInsert(Int32, ModelComponent)
System_CAPS_pubmethodInsert(Int32, String)

Creates and inserts the specified AttributeRelationship into the collection at the specified index.

System_CAPS_pubmethodIsValidName(String)

Verifies that the specified name is a valid name for an AttributeRelationship.

System_CAPS_pubmethodIsValidName(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.

System_CAPS_pubmethodMove(AttributeRelationship, Int32)

Moves a specified AttributeRelationship to a new index position in the collection.

System_CAPS_pubmethodMove(Int32, Int32)

Moves a specified AttributeRelationship from one position to another position in the collection.

System_CAPS_pubmethodMove(String, Int32)

Moves the specified AttributeRelationship into the collection at the specified index position.

System_CAPS_pubmethodRemove(AttributeRelationship)

Removes the specified AttributeRelationship from the collection.

System_CAPS_pubmethodRemove(AttributeRelationship, Boolean)

Removes the specified AttributeRelationship from this collection.

System_CAPS_protmethodRemove(IModelComponent)

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

System_CAPS_pubmethodRemove(String)

Removes an AttributeRelationship, identified by attributeId, from the collection.

System_CAPS_pubmethodRemove(String, Boolean)

Removes an AttributeRelationship from this collection.

System_CAPS_pubmethodRemoveAt(Int32)

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

System_CAPS_pubmethodRemoveAt(Int32, Boolean)

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

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventCollectionChanged

Occurs when the collection changes.(Inherited from ModelComponentCollection.)

System_CAPS_pubeventCollectionChanging

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.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIOnDemandLoadableCollection.Loaded

(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.Item[Int32]

(Inherited from ModelComponentCollection.)

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
Show:
© 2016 Microsoft