Share via


MiningModelColumnCollection.Item Property (String)

Gets the specified MiningModelColumn 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 MiningModelColumn 
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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.

Remarks

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

See Also

Reference

MiningModelColumnCollection Class

Item Overload

Microsoft.AnalysisServices.AdomdClient Namespace