Item Propiedad (String)
Gets the specified MiningModel from the collection by its name.
Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
index As String _
) As MiningModel
Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- index
Tipo: System. . :: . .String
The name of the MiningModel to find.
Valor de la propiedad
Tipo: Microsoft.AnalysisServices.AdomdClient. . :: . .MiningModel
The mining model with the specified name in the collection.
Excepciones
Excepción | Condición |
---|---|
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. |