GetByName méthode
Gets the MiningStructure 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 MiningStructure
'Utilisation
Dim instance As MiningStructureCollection
Dim name As String
Dim returnValue As MiningStructure
returnValue = instance.GetByName(name)
public MiningStructure GetByName(
string name
)
public:
MiningStructure^ GetByName(
String^ name
)
member GetByName :
name:string -> MiningStructure
public function GetByName(
name : String
) : MiningStructure
Paramètres
- name
Type : System. . :: . .String
The name of the MiningStructure to return.
Valeur de retour
Type : Microsoft.AnalysisServices. . :: . .MiningStructure
The MiningStructure if it exists in the collection.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | name does not exist in the collection. |