AdomdParameterCollection.Item Property (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.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _
Public Default Property Item ( _
parameterName As String _
) As AdomdParameter
[BrowsableAttribute(false)]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
public AdomdParameter this [
string parameterName
] { get; set; }
[BrowsableAttribute(false)]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Hidden)]
public:
property AdomdParameter^ default [String^] {
AdomdParameter^ get (String^ parameterName);
void set (String^ parameterName, AdomdParameter^ value);
}
/** @property */
public AdomdParameter get_Item (String parameterName)
/** @property */
public void set_Item (String parameterName, AdomdParameter value)
Parameters
- parameterName
The name of the AdomdParameter object to find.
Exceptions
Exception type | Condition |
---|---|
System.InvalidOperationException | The specified member did not exist in the collection. |
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
AdomdParameterCollection Class
AdomdParameterCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace