TechNet
Export (0) Print
Expand All

RelationshipCollection Class

 

Updated: May 16, 2016

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

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

System.Object
  Microsoft.AnalysisServices.ModelComponentCollection
    Microsoft.AnalysisServices.RelationshipCollection

public sealed class RelationshipCollection : 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 Relationship at the specified index from the collection.

System_CAPS_pubpropertyItem[String]

Gets the Relationship that has the specified identifier from the collection.

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_protmethodAdd(ModelComponent)
System_CAPS_protmethodAdd(ModelComponent, Boolean)
System_CAPS_pubmethodAdd(Relationship)

Adds a Relationship to the collection.

System_CAPS_pubmethodAdd(String)

Adds a Relationship with the specified identifier to 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(Relationship)

Determines whether a relationship exists in the collection.

System_CAPS_pubmethodContains(String)

Determines whether a relationship with the specified identifier exists in the collection.

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)

Finds the Relationship that has the specified identifier 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_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(Relationship)

Gets the index of a specified Relationship.

System_CAPS_pubmethodIndexOf(String)

Searches for a Relationship with the specified identifier and returns its zero-based index within the collection.

System_CAPS_protmethodInsert(Int32, ModelComponent)
System_CAPS_pubmethodInsert(Int32, Relationship)

Inserts a relationship into the collection at the specified index.

System_CAPS_pubmethodInsert(Int32, String)

Inserts a relationship with the specified identifier, into the collection at the specified index.

System_CAPS_pubmethodMove(Int32, Int32)

Moves a Relationship at the current specified index to a new specified index in the collection.

System_CAPS_pubmethodMove(Relationship, Int32)

Moves a Relationship to a new index in the collection.

System_CAPS_pubmethodMove(String, Int32)

Moves the Relationship that has the specified identifier to the specified index in the collection.

System_CAPS_protmethodRemove(IModelComponent)

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

System_CAPS_pubmethodRemove(Relationship)

Removes the specified Relationship from the collection.

System_CAPS_pubmethodRemove(Relationship, Boolean)

Removes the specified Relationship from the collection.

System_CAPS_pubmethodRemove(String)

Removes a Relationship with the specified identifier from the collection.

System_CAPS_pubmethodRemove(String, Boolean)

Removes the Relationship with the specified identifier from the 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