Add Método (String)
Creates and adds the AttributeRelationship, which is defined by attributeID, to the end of the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function Add ( _
attributeId As String _
) As AttributeRelationship
'Uso
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
Parámetros
- attributeId
Tipo: System. . :: . .String
Identifies the AttributeRelationship to be added.
Valor devuelto
Tipo: Microsoft.AnalysisServices. . :: . .AttributeRelationship
The AttributeRelationship that was added to the collection.
Excepciones
Excepción | Condición |
---|---|
ArgumentNullException | attributeId is a null reference (Nothing in Visual Basic). |