Condividi tramite


Proprietà MiningServiceParameterCollection.Enumerator.Current

Ottiene l'oggetto MiningServiceParameter corrente nell'oggetto MiningServiceParameterCollection.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property Current As MiningServiceParameter 
    Get
'Utilizzo
Dim instance As MiningServiceParameterCollection.Enumerator 
Dim value As MiningServiceParameter 

value = instance.Current
public MiningServiceParameter Current { get; }
public:
virtual property MiningServiceParameter^ Current {
    MiningServiceParameter^ get () sealed;
}
abstract Current : MiningServiceParameter 
override Current : MiningServiceParameter
final function get Current () : MiningServiceParameter

Valore proprietà

Tipo: Microsoft.AnalysisServices.AdomdServer.MiningServiceParameter
MiningServiceParameter nell'oggetto MiningServiceParameterCollection, se l'oggetto Enumerator non passa la fine della raccolta.

Eccezioni

Eccezione Condizione
[InvalidOperationException]

L'enumeratore si trova attualmente prima del primo o dopo l'ultimo oggetto MiningServiceParameter nell'oggetto MiningServiceParameterCollection. Per ulteriori informazioni su questa eccezione, vedere InvalidOperationException Class.

Osservazioni

Dopo la creazione di un enumeratore o dopo un metodo Reset, deve essere chiamato il metodo MoveNext per passare l'enumeratore al primo elemento della raccolta prima di leggere il valore di Current. In caso contrario, la proprietà Current non è definita.

Vedere anche

Riferimento

MiningServiceParameterCollection.Enumerator Classe

Spazio dei nomi Microsoft.AnalysisServices.AdomdServer