Propriété StoredProcedure.Parameters
Represents a collection of StoredProcedureParameterCollection objects. Each StoredProcedureParameter object represents a parameter defined for the stored procedure.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(StoredProcedureParameter), SfcObjectFlags.None Or SfcObjectFlags.NaturalOrder Or SfcObjectFlags.Design)> _
Public ReadOnly Property Parameters As StoredProcedureParameterCollection
Get
'Utilisation
Dim instance As StoredProcedure
Dim value As StoredProcedureParameterCollection
value = instance.Parameters
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(StoredProcedureParameter), SfcObjectFlags.None|SfcObjectFlags.NaturalOrder|SfcObjectFlags.Design)]
public StoredProcedureParameterCollection Parameters { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(StoredProcedureParameter), SfcObjectFlags::None|SfcObjectFlags::NaturalOrder|SfcObjectFlags::Design)]
public:
property StoredProcedureParameterCollection^ Parameters {
StoredProcedureParameterCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(StoredProcedureParameter), SfcObjectFlags.None|SfcObjectFlags.NaturalOrder|SfcObjectFlags.Design)>]
member Parameters : StoredProcedureParameterCollection
function get Parameters () : StoredProcedureParameterCollection
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.StoredProcedureParameterCollection
A StoredProcedureParameterCollection object that represents all the parameter defined for the stored procedure.
Exemples
Création, modification et suppression des procédures stockées
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo