RelationshipEndAttributeCollection.Add Method

Definition

Overloads

Add(RelationshipEndAttribute)

Adds the specified RelationshipEndAttribute to this collection.

Add(String)

Creates, adds to collection and returns a new RelationshipEndAttribute.

Add(RelationshipEndAttribute)

Adds the specified RelationshipEndAttribute to this collection.

public int Add (Microsoft.AnalysisServices.RelationshipEndAttribute item);
override this.Add : Microsoft.AnalysisServices.RelationshipEndAttribute -> int
Public Function Add (item As RelationshipEndAttribute) As Integer

Parameters

item
RelationshipEndAttribute

The RelationshipEndAttribute to add to this collection.

Returns

The zero-based index in collection where the item was added.

Applies to

Add(String)

Creates, adds to collection and returns a new RelationshipEndAttribute.

public Microsoft.AnalysisServices.RelationshipEndAttribute Add (string attributeId);
override this.Add : string -> Microsoft.AnalysisServices.RelationshipEndAttribute
Public Function Add (attributeId As String) As RelationshipEndAttribute

Parameters

attributeId
String

The AttributeID for the new RelationshipEndAttribute (needs to be unique in this collection).

Returns

The newly created RelationshipEndAttribute.

Applies to