Compartilhar via


Método RelationshipCollection.Add (String)

Adds a Relationship with the specified identifier to the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    id As String _
) As Relationship
'Uso
Dim instance As RelationshipCollection 
Dim id As String 
Dim returnValue As Relationship 

returnValue = instance.Add(id)
public Relationship Add(
    string id
)
public:
Relationship^ Add(
    String^ id
)
member Add : 
        id:string -> Relationship
public function Add(
    id : String
) : Relationship

Parâmetros

  • id
    Tipo: System.String
    The identifier of the relationship to be added.

Valor de retorno

Tipo: Microsoft.AnalysisServices.Relationship
The relationship that was added to the collection.

Consulte também

Referência

RelationshipCollection Classe

Sobrecarregado Add

Namespace Microsoft.AnalysisServices