Delen via


MiningStructureCollection.Find Method

Gets the specified MiningStructure from the MiningStructureCollection collection by its name.

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

Syntax

'Declaration
Public Function Find ( _
    index As String _
) As MiningStructure
'Usage
Dim instance As MiningStructureCollection
Dim index As String
Dim returnValue As MiningStructure

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

Parameters

Return Value

Type: Microsoft.AnalysisServices.AdomdClient.MiningStructure
The MiningStructure with the name name.

Remarks

If the object is not found, the Find method returns nulla null reference (Nothing in Visual Basic), whereas the Item property throws an exception.