Share via


StoredProcedureParameterCollection.Item Property (String)

Gets a StoredProcedureParameter object in the collection by name.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As StoredProcedureParameter 
    Get
'Usage
Dim instance As StoredProcedureParameterCollection 
Dim name As String 
Dim value As StoredProcedureParameter 

value = instance(name)
public StoredProcedureParameter this[
    string name
] { get; }
public:
property StoredProcedureParameter^ default[String^ name] {
    StoredProcedureParameter^ get (String^ name);
}
member Item : StoredProcedureParameter
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.StoredProcedureParameter
A StoredProcedureParameter object value that represents the stored procedure parameter.

Examples

Using Collections

See Also

Reference

StoredProcedureParameterCollection Class

Item Overload

Microsoft.SqlServer.Management.Smo Namespace