Метод Find
Gets the specified Dimension from the collection by its name.
Пространство имен: Microsoft.AnalysisServices.AdomdServer
Сборка: msmgdsrv (в msmgdsrv.dll)
Синтаксис
'Декларация
Public Function Find ( _
name As String _
) As Dimension
'Применение
Dim instance As DimensionCollection
Dim name As String
Dim returnValue As Dimension
returnValue = instance.Find(name)
public Dimension Find(
string name
)
public:
Dimension^ Find(
String^ name
)
member Find :
name:string -> Dimension
public function Find(
name : String
) : Dimension
Параметры
- name
Тип System. . :: . .String
The name of the Dimensions to find.
Возвращаемое значение
Тип Microsoft.AnalysisServices.AdomdServer. . :: . .Dimension
If the object is not found, the Find method returns nullNothingnullptrunitпустая ссылка (Nothing в Visual Basic), whereas the Item property throws an exception.