MiningServiceParameterCollection.Find Method

Finds the specified MiningServiceParameter from the MiningServiceParameterCollection collection by its name.

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

Syntax

'Declaration
Public Function Find ( _
    name As String _
) As MiningServiceParameter
'Usage
Dim instance As MiningServiceParameterCollection 
Dim name As String 
Dim returnValue As MiningServiceParameter 

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

Parameters

Return Value

Type: Microsoft.AnalysisServices.AdomdServer.MiningServiceParameter
The MiningServiceParameter with the index 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.

See Also

Reference

MiningServiceParameterCollection Class

Microsoft.AnalysisServices.AdomdServer Namespace