Método MiningStructureCollection.Find
Gets the specified MiningStructure from the MiningStructureCollection collection by its name.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxe
'Declaração
Public Function Find ( _
index As String _
) As MiningStructure
'Uso
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
Parâmetros
- index
Tipo: System.String
The name of the MiningStructure to find.
Valor de retorno
Tipo: Microsoft.AnalysisServices.AdomdClient.MiningStructure
The MiningStructure with the specified name.
Comentários
If the object is not found, the Find method returns nulluma referência nula (Nothing no Visual Basic), whereas the Item property throws an exception.