Dela via


MiningStructureCollection.FindByName Method

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

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

Syntax

'Declaration
Public Function FindByName ( _
    name As String _
) As MiningStructure
'Usage
Dim instance As MiningStructureCollection
Dim name As String
Dim returnValue As MiningStructure

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

Parameters

Return Value

Type: Microsoft.AnalysisServices.MiningStructure
The MiningStructure if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).