Partager via


Méthode Add (AttributeRelationship)

Adds the specified AttributeRelationship to the end of the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    item As AttributeRelationship _
) As Integer
'Utilisation
Dim instance As AttributeRelationshipCollection
Dim item As AttributeRelationship
Dim returnValue As Integer

returnValue = instance.Add(item)
public int Add(
    AttributeRelationship item
)
public:
int Add(
    AttributeRelationship^ item
)
member Add : 
        item:AttributeRelationship -> int 
public function Add(
    item : AttributeRelationship
) : int

Paramètres

Valeur de retour

Type : System. . :: . .Int32
The zero-based index where the AttributeRelationship was added.