Propriété MiningModelColumnCollection.Item (String)
Gets the specified MiningModelColumn from the collection by its name.
Espace de noms : Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
index As String _
) As MiningModelColumn
Get
'Utilisation
Dim instance As MiningModelColumnCollection
Dim index As String
Dim value As MiningModelColumn
value = instance(index)
public MiningModelColumn this[
string index
] { get; }
public:
property MiningModelColumn^ default[String^ index] {
MiningModelColumn^ get (String^ index);
}
member Item : MiningModelColumn
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- index
Type : System.String
The name of the MiningModelColumn to find.
Valeur de propriété
Type : Microsoft.AnalysisServices.AdomdClient.MiningModelColumn
The MiningModelColumn with the specified name.
Exceptions
Exception | Condition |
---|---|
AdomdErrorResponseException | The provider returned an error in response. |
AdomdUnknownResponseException | The provider sent an unrecognizable response. |
AdomdConnectionException | The connection was broken. |
System.InvalidOperationException | The MiningModelColumn was not found in the collection. |
Notes
In Microsoft Visual C#, this property is the indexer for the MiningModelColumnCollection class.