Compartilhar via


Propriedade do RDL ServerPropertyCollection.Item (String)

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    name As String _
) As ServerProperty 
    Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

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

Exceções

Exceção Condição
ArgumentNullException

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

ItemNotFoundException

name does not exist in the collection.

Consulte também

Referência

ServerPropertyCollection Classe

Sobrecarregado Item

Namespace Microsoft.AnalysisServices