MiningModelCollection.GetByName(String) Method

Definition

Gets the MiningModel, with the specified name, from the collection.

public:
 Microsoft::AnalysisServices::MiningModel ^ GetByName(System::String ^ name);
public Microsoft.AnalysisServices.MiningModel GetByName (string name);
member this.GetByName : string -> Microsoft.AnalysisServices.MiningModel
Public Function GetByName (name As String) As MiningModel

Parameters

name
String

The name of the MiningModel to be returned.

Returns

MiningModel

The MiningModel if contained in the collection.

Exceptions

name is not contained by the collection.

name is not contained by the collection.

Applies to