Sdílet prostřednictvím


AggregationCollection.FindByName Method

Gets the Aggregation, with the specified name, from the collection.

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

Syntax

'Declaration
Public Function FindByName ( _
    name As String _
) As Aggregation
'Usage
Dim instance As AggregationCollection 
Dim name As String 
Dim returnValue As Aggregation 

returnValue = instance.FindByName(name)
public Aggregation FindByName(
    string name
)
public:
Aggregation^ FindByName(
    String^ name
)
member FindByName : 
        name:string -> Aggregation
public function FindByName(
    name : String
) : Aggregation

Parameters

Return Value

Type: Microsoft.AnalysisServices.Aggregation
The Aggregation if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).

See Also

Reference

AggregationCollection Class

Microsoft.AnalysisServices Namespace