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


Метод FindByName

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

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

Синтаксис

'Декларация
Public Function FindByName ( _
    name As String _
) As Dimension
'Применение
Dim instance As DimensionCollection
Dim name As String
Dim returnValue As Dimension

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

Параметры

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

Тип: Microsoft.AnalysisServices. . :: . .Dimension
The Dimension if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).