StoredProcedureCollection.Item Propiedad (String)
Gets a StoredProcedure object in the collection by name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As StoredProcedure
Get
'Uso
Dim instance As StoredProcedureCollection
Dim name As String
Dim value As StoredProcedure
value = instance(name)
public StoredProcedure this[
string name
] { get; }
public:
property StoredProcedure^ default[String^ name] {
StoredProcedure^ get (String^ name);
}
member Item : StoredProcedure
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
A String value that specifies the name of the StoredProcedure object in the StoredProcedureCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.StoredProcedure
A StoredProcedure object value that represents the stored procedure.