Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Creates and adds the AttributeRelationship, which is defined by attributeID, to the end of the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Add ( _
attributeId As String _
) As AttributeRelationship
'Utilisation
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
Paramètres
- attributeId
Type : System.String
Identifies the AttributeRelationship to be added.
Valeur de retour
Type : Microsoft.AnalysisServices.AttributeRelationship
The AttributeRelationship that was added to the collection.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | attributeId is a null reference (Nothing in Visual Basic). |