Share via


MiningModelColumnCollection.FindByName 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 FindByName ( _
    name As String _
) As MiningModelColumn
'Usage
Dim instance As MiningModelColumnCollection
Dim name As String
Dim returnValue As MiningModelColumn

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

Parameters

Return Value

Type: Microsoft.AnalysisServices.MiningModelColumn
The MiningModelColumn if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).