Partager via


Méthode RelationshipCollection.Add (String)

Adds a Relationship with the specified identifier to the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    id As String _
) As Relationship
'Utilisation
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

Paramètres

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

Valeur de retour

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

Voir aussi

Référence

RelationshipCollection Classe

Surcharge Add

Espace de noms Microsoft.AnalysisServices