Freigeben über


RelationshipCollection.Add-Methode (String)

Adds a Relationship with the specified identifier to the collection.

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

Syntax

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

Parameter

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

Rückgabewert

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

Siehe auch

Verweis

RelationshipCollection Klasse

Add-Überladung

Microsoft.AnalysisServices-Namespace