Compartilhar via


Método GetByName

Gets the MiningModelColumn that has 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 MiningModelColumn
'Uso
Dim instance As MiningModelColumnCollection
Dim name As String
Dim returnValue As MiningModelColumn

returnValue = instance.GetByName(name)
public MiningModelColumn GetByName(
    string name
)
public:
MiningModelColumn^ GetByName(
    String^ name
)
member GetByName : 
        name:string -> MiningModelColumn 
public function GetByName(
    name : String
) : MiningModelColumn

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices. . :: . .MiningModelColumn
The MiningModelColumn that has the name specified in name.

Exceções

Exceção Condição
ItemNotFoundException

name does not exist in the collection.