Share via


MiningModelColumnCollection.GetByName Method

Gets the MiningModelColumn that has the specified name from the collection.

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

Syntax

'Declaration
Public Function GetByName ( _
    name As String _
) As MiningModelColumn
'Usage
Dim instance As MiningModelColumnCollection
Dim name As String
Dim returnValue As MiningModelColumn

returnValue = instance.GetByName(name)
public MiningModelColumn GetByName(
    string name
)
public:
MiningModelColumn^ GetByName(
    String^ name
)
member GetByName : 
        name:string -> MiningModelColumn 
public function GetByName(
    name : String
) : MiningModelColumn

Parameters

Return Value

Type: Microsoft.AnalysisServices.MiningModelColumn
The MiningModelColumn that has the name specified in name.

Exceptions

Exception Condition
ItemNotFoundException

name does not exist in the collection.