MiningStructureCollection.GetByName Method

Gets the MiningStructure by the specified name from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function GetByName ( _
    name As String _
) As MiningStructure
'Usage
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

Parameters

Return Value

Type: Microsoft.AnalysisServices.MiningStructure
The MiningStructure if it exists in the collection.

Exceptions

Exception Condition
ItemNotFoundException

name does not exist in the collection.

See Also

Reference

MiningStructureCollection Class

Microsoft.AnalysisServices Namespace