Метод Add (String)
Creates and adds the AttributeRelationship, which is defined by attributeID, to the end of the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Add ( _
attributeId As String _
) As AttributeRelationship
'Применение
Dim instance As AttributeRelationshipCollection
Dim attributeId As String
Dim returnValue As AttributeRelationship
returnValue = instance.Add(attributeId)
public AttributeRelationship Add(
string attributeId
)
public:
AttributeRelationship^ Add(
String^ attributeId
)
member Add :
attributeId:string -> AttributeRelationship
public function Add(
attributeId : String
) : AttributeRelationship
Параметры
- attributeId
Тип: System. . :: . .String
Identifies the AttributeRelationship to be added.
Возвращаемое значение
Тип: Microsoft.AnalysisServices. . :: . .AttributeRelationship
The AttributeRelationship that was added to the collection.
Исключения
Исключение | Условие |
---|---|
ArgumentNullException | attributeId is a null reference (Nothing in Visual Basic). |