Partager via


Item propriété (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 (dans 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