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


Свойство Item (String)

Gets the specified MiningModel from the collection by its name.

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

Синтаксис

'Декларация
Public ReadOnly Default Property Item ( _
    index As String _
) As MiningModel
    Get
'Применение
Dim instance As MiningModelCollection
Dim index As String
Dim value As MiningModel

value = instance(index)
public MiningModel this[
    string index
] { get; }
public:
property MiningModel^ default[String^ index] {
    MiningModel^ get (String^ index);
}
member Item : MiningModel
JScript поддерживает использование индексированных свойств, но не объявление новых.

Параметры

Значение свойства

Тип: Microsoft.AnalysisServices.AdomdClient. . :: . .MiningModel
The mining model with the specified name in the collection.

Исключения

Исключение Условие
AdomdErrorResponseException

The provider returned an error in response.

AdomdUnknownResponseException

The provider sent an unrecognizable response.

AdomdConnectionException

The connection was broken.

InvalidOperationException

The MiningModel was not found in the collection.

Замечания

In Microsoft Visual C#, this property is the indexer for the MiningModelCollection class.