Proprietà MiningAttributeCollection.Item (String)
Ottiene l'oggetto MiningAttribute specificato dalla raccolta in base al relativo nome. In Microsoft Visual C# questa proprietà è l'indicizzatore per la classe MiningAttributeCollection.
Spazio dei nomi Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As MiningAttribute
Get
'Utilizzo
Dim instance As MiningAttributeCollection
Dim name As String
Dim value As MiningAttribute
value = instance(name)
public MiningAttribute this[
string name
] { get; }
public:
property MiningAttribute^ default[String^ name] {
MiningAttribute^ get (String^ name);
}
member Item : MiningAttribute
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: String
Nome dell'oggetto MiningAttribute da trovare.
Valore proprietà
Tipo: Microsoft.AnalysisServices.AdomdServer.MiningAttribute
Oggetto MiningAttribute con il nome specificato.
Eccezioni
Eccezione | Condizione |
---|---|
InvalidOperationException | Oggetto MiningAttribute non trovato nella raccolta. |