MiningModelCollection.GetByName Método
Gets the MiningModel, with the specified name, from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function GetByName ( _
name As String _
) As MiningModel
'Uso
Dim instance As MiningModelCollection
Dim name As String
Dim returnValue As MiningModel
returnValue = instance.GetByName(name)
public MiningModel GetByName(
string name
)
public:
MiningModel^ GetByName(
String^ name
)
member GetByName :
name:string -> MiningModel
public function GetByName(
name : String
) : MiningModel
Parámetros
- name
Tipo: System.String
The name of the MiningModel to be returned.
Valor devuelto
Tipo: Microsoft.AnalysisServices.MiningModel
The MiningModel if contained in the collection.
Excepciones
Excepción | Condición |
---|---|
ItemNotFoundException | name is not contained by the collection. |