Partager via


Propriété MiningServiceCollection.Item (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.

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

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As MiningService 
    Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.AnalysisServices.AdomdServer.MiningService
The MiningService with the specified name.

Voir aussi

Référence

MiningServiceCollection Classe

Surcharge Item

Espace de noms Microsoft.AnalysisServices.AdomdServer