Sdílet prostřednictvím


RelationshipCollection.Add Method (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

Parameters

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

Return Value

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

See Also

Reference

RelationshipCollection Class

Add Overload

Microsoft.AnalysisServices Namespace