Método RelationshipCollection.Add (Relationship)
Adds a Relationship to the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
Public Function Add ( _
item As Relationship _
) As Integer
'Uso
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
Parâmetros
- item
Tipo: Microsoft.AnalysisServices.Relationship
The relationship to add.
Valor de retorno
Tipo: System.Int32
The relationship that was added.