Share via


MiningServiceCollection.Item Property (String)

Gets the specified MiningService from the MiningServiceCollection collection by its name. In Microsoft Visual C#, this property is the indexer for the MiningServiceCollection class.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As MiningService
    Get
'Usage
Dim instance As MiningServiceCollection
Dim name As String
Dim value As MiningService

value = instance(name)
public MiningService this[
    string name
] { get; }
public:
property MiningService^ default[String^ name] {
    MiningService^ get (String^ name);
}
member Item : MiningService
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters