Item Propiedad (String)
Gets the ServerProperty that has the specified name from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System. . :: . .String
The name of the ServerProperty to return.
Valor de la propiedad
Tipo: Microsoft.AnalysisServices. . :: . .ServerProperty
The ServerProperty specified by name.
Excepciones
Excepción | Condición |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | name does not exist in the collection. |