Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates and adds the AttributeRelationship, which is defined by attributeID, to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
attributeId As String _
) As AttributeRelationship
'Usage
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
Parameter
- attributeId
Typ: System.String
Identifies the AttributeRelationship to be added.
Rückgabewert
Typ: Microsoft.AnalysisServices.AttributeRelationship
The AttributeRelationship that was added to the collection.
Ausnahmen
| Ausnahme | Bedingung |
|---|---|
| ArgumentNullException | attributeId is a null reference (Nothing in Visual Basic). |