AggregationCollection.GetByName Method

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

Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Синтаксис

'Декларация
Public Function GetByName ( _
    name As String _
) As Aggregation
public Aggregation GetByName (
    string name
)
public:
Aggregation^ GetByName (
    String^ name
)
public Aggregation GetByName (
    String name
)
public function GetByName (
    name : String
) : Aggregation

Параметры

Возвращаемое значение

The Aggregation with the name specified in name.

Исключения

Тип исключения Условие
ItemNotFoundException

name is not contained by the collection.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

AggregationCollection Class
AggregationCollection Members
Microsoft.AnalysisServices Namespace