Condividi tramite


Metodo Add (String)

Creates and adds a CubeAttribute, with the specified identifier, to the end of the collection.

Spazio dei nomi:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Add ( _
    attributeId As String _
) As CubeAttribute
'Utilizzo
Dim instance As CubeAttributeCollection
Dim attributeId As String
Dim returnValue As CubeAttribute

returnValue = instance.Add(attributeId)
public CubeAttribute Add(
    string attributeId
)
public:
CubeAttribute^ Add(
    String^ attributeId
)
member Add : 
        attributeId:string -> CubeAttribute 
public function Add(
    attributeId : String
) : CubeAttribute

Parametri

Valore restituito

Tipo: Microsoft.AnalysisServices. . :: . .CubeAttribute
The zero-based index at which the CubeAttribute has been added.