Partager via


Find méthode

Returns the specified MiningStructure from the MiningStructureCollection collection by the structure's name.

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (dans msmgdsrv.dll)

Syntaxe

'Déclaration
Public Function Find ( _
    name As String _
) As MiningStructure
'Utilisation
Dim instance As MiningStructureCollection
Dim name As String
Dim returnValue As MiningStructure

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

Paramètres

Valeur de retour

Type : Microsoft.AnalysisServices.AdomdServer. . :: . .MiningStructure
The MiningStructure with the given name.

Notes

If the object is not found, the Find method returns null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) . However the Item property throws an exception if the object is not found.