Поделиться через


MeasureGroupCollection.GetByName Method

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

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

Синтаксис

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

Параметры

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

The MeasureGroup if it exists in the collection.

Исключения

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

name does not exist in 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.

См. также

Справочник

MeasureGroupCollection Class
MeasureGroupCollection Members
Microsoft.AnalysisServices Namespace