MiningServiceCollection.Find Method (String)

 

Updated: March 10, 2016

Gets the specified MiningService from the MiningServiceCollection collection by its name.

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

public MiningService Find(
	string index
)

Parameters

index
Type: System.String

The name of the MiningService to find.

Return Value

Type: Microsoft.AnalysisServices.AdomdClient.MiningService

The MiningService with the specifiedname. null if the mining services is not found.

If the object is not found, the Find method returns null, whereas the Item property throws an exception.

Return to top
Show: