RelationshipCollection.Add-Methode (Relationship)
Adds a Relationship to the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
item As Relationship _
) As Integer
'Usage
Dim instance As RelationshipCollection
Dim item As Relationship
Dim returnValue As Integer
returnValue = instance.Add(item)
public int Add(
Relationship item
)
public:
int Add(
Relationship^ item
)
member Add :
item:Relationship -> int
public function Add(
item : Relationship
) : int
Parameter
- item
Typ: Microsoft.AnalysisServices.Relationship
The relationship to add.
Rückgabewert
Typ: System.Int32
The relationship that was added.