共用方式為


MiningModelCollection.GetByName(String) Method

Definition

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

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 locate.

Returns

The MiningModel with the specified Name.

Exceptions

The collection doesn't contain a MiningModel with the specified name.

Applies to