MiningModelCollection.Find Method

Gets the specified MiningModel from the collection by its name.

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

public MiningModel Find(
	string index
)

Parameters

index
Type: System.String
The name of the MiningModel to find.

Return Value

Type: Microsoft.AnalysisServices.AdomdClient.MiningModel
The mining model with the specified name in the collection. A null if the mining model is not found.

If the object is not found, the Find method returns null, whereas the Item property throws an exception.

Community Additions

ADD
Show: