Freigeben über


MiningModelCollection.Item-Eigenschaft (String)

Gets the specified MiningModel from the collection by its name.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As String _
) As MiningModel 
    Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

Eigenschaftswert

Typ: Microsoft.AnalysisServices.AdomdClient.MiningModel
The mining model with the specified name in the collection.

Ausnahmen

Ausnahme Bedingung
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.

Hinweise

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

Siehe auch

Verweis

MiningModelCollection Klasse

Item-Überladung

Microsoft.AnalysisServices.AdomdClient-Namespace