Propriedade do RDL MiningModelCollection.Item (String)
Gets the specified MiningModel from the collection by its name.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxe
'Declaração
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- index
Tipo: System.String
The name of the MiningModel to find.
Valor da propriedade
Tipo: Microsoft.AnalysisServices.AdomdClient.MiningModel
The mining model with the specified name in the collection.
Exceções
Exceção | Condição |
---|---|
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. |
Comentários
In Microsoft Visual C#, this property is the indexer for the MiningModelCollection class.