Proprietà ServerPropertyCollection.Item (String)

Gets the ServerProperty that has the specified name from the collection.

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

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    name As String _
) As ServerProperty 
    Get
'Utilizzo
Dim instance As ServerPropertyCollection 
Dim name As String 
Dim value As ServerProperty 

value = instance(name)
public ServerProperty this[
    string name
] { get; }
public:
property ServerProperty^ default[String^ name] {
    ServerProperty^ get (String^ name);
}
member Item : ServerProperty
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: Microsoft.AnalysisServices.ServerProperty
The ServerProperty specified by name.

Eccezioni

Eccezione Condizione
ArgumentNullException

name is a null reference (Nothing in Visual Basic).

ItemNotFoundException

name does not exist in the collection.

Vedere anche

Riferimento

ServerPropertyCollection Classe

Overload Item

Spazio dei nomi Microsoft.AnalysisServices