Item Propiedad (String)
Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name. In Microsoft Visual C#, this property is the indexer for the AdomdParameterCollection class.
Espacio de nombres: Microsoft.AnalysisServices.AdomdServer
Ensamblado: msmgdsrv (en msmgdsrv.dll)
Sintaxis
'Declaración
<BrowsableAttribute(False)> _
Public Default Property Item ( _
parameterName As String _
) As AdomdParameter
Get
Set
'Uso
Dim instance As AdomdParameterCollection
Dim parameterName As String
Dim value As AdomdParameter
value = instance(parameterName)
instance(parameterName) = value
[BrowsableAttribute(false)]
public AdomdParameter this[
string parameterName
] { get; set; }
[BrowsableAttribute(false)]
public:
virtual property AdomdParameter^ default[String^ parameterName] {
AdomdParameter^ get (String^ parameterName) sealed;
void set (String^ parameterName, AdomdParameter^ value) sealed;
}
[<BrowsableAttribute(false)>]
abstract Item : AdomdParameter with get, set
[<BrowsableAttribute(false)>]
override Item : AdomdParameter with get, set
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- parameterName
Tipo: System. . :: . .String
The name of the AdomdParameter object to find.
Valor de la propiedad
Tipo: Microsoft.AnalysisServices.AdomdServer. . :: . .AdomdParameter
Excepciones
Excepción | Condición |
---|---|
[InvalidOperationException] | The specified member did not exist in the collection. For more information about this exception, see InvalidOperationException Class. |