Partager via


GetByName méthode

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function GetByName ( _
    name As String _
) As MiningModelColumn
'Utilisation
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

Paramètres

Valeur de retour

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

Exceptions

Exception Condition
ItemNotFoundException

name does not exist in the collection.