Método MiningModelCollection.GetByName
Gets the MiningModel, with the specified name, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
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 de retorno
Tipo: Microsoft.AnalysisServices.MiningModel
The MiningModel if contained in the collection.
Exceções
Exceção | Condição |
---|---|
ItemNotFoundException | name is not contained by the collection. |