Sdílet prostřednictvím


CubeAttributeCollection.Find Method

Gets the CubeAttribute, with the specified identifier, from the collection.

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

Syntax

'Declaration
Public Function Find ( _
    attributeId As String _
) As CubeAttribute
'Usage
Dim instance As CubeAttributeCollection
Dim attributeId As String
Dim returnValue As CubeAttribute

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

Parameters

Return Value

Type: Microsoft.AnalysisServices.CubeAttribute
The [T:Microsoft.AnalysisServices.CubeAttribute,] if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).