RelationshipEndAttributeCollection.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.