Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public Default Property Item ( _
    parameterName As String _
) As AdomdParameter 
    Get 
    Set
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- parameterName
 Type: String
 The name of the AdomdParameter object to find.
Property Value
Type: Microsoft.AnalysisServices.AdomdServer.AdomdParameter
The AdomdParameter with the specified name.
Exceptions
| Exception | Condition | 
|---|---|
| InvalidOperationException | The specified member did not exist in the collection. |