AggregationCollection.GetByName(String) Method

Definition

Gets the Aggregation that has the specified name from the collection.

public Microsoft.AnalysisServices.Aggregation GetByName (string name);
member this.GetByName : string -> Microsoft.AnalysisServices.Aggregation
Public Function GetByName (name As String) As Aggregation

Parameters

name
String

The name of the Aggregation to locate.

Returns

The Aggregation with the specified Name.

Exceptions

The collection doesn't contain an Aggregation with the specified name.

Applies to