Condividi tramite


Metodo RelationshipCollection.Add (String)

Adds a Relationship with the specified identifier to the collection.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Add ( _
    id As String _
) As Relationship
'Utilizzo
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

Parametri

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

Valore restituito

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

Vedere anche

Riferimento

RelationshipCollection Classe

Overload Add

Spazio dei nomi Microsoft.AnalysisServices