Поделиться через


Метод RelationshipCollection.Add (String)

Adds a Relationship with the specified identifier to the collection.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Function Add ( _
    id As String _
) As Relationship
'Применение
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

Параметры

  • id
    Тип: System.String
    The identifier of the relationship to be added.

Возвращаемое значение

Тип: Microsoft.AnalysisServices.Relationship
The relationship that was added to the collection.

См. также

Справочник

RelationshipCollection Класс

Перегрузка Add

Пространство имен Microsoft.AnalysisServices