Compartilhar via


Método Add (AttributeRelationship)

Adds the specified AttributeRelationship to the end of the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Function Add ( _
    item As AttributeRelationship _
) As Integer
'Uso
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

Parâmetros

Valor de retorno

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