Méthode Add (StoredProcedureParameter, Int32)
Adds a StoredProcedureParameter object to the StoredProcedureParameterCollection object.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
storedProcedureParameter As StoredProcedureParameter, _
insertAtPosition As Integer _
)
'Utilisation
Dim instance As StoredProcedureParameterCollection
Dim storedProcedureParameter As StoredProcedureParameter
Dim insertAtPosition As Integer
instance.Add(storedProcedureParameter, _
insertAtPosition)
public void Add(
StoredProcedureParameter storedProcedureParameter,
int insertAtPosition
)
public:
void Add(
StoredProcedureParameter^ storedProcedureParameter,
int insertAtPosition
)
member Add :
storedProcedureParameter:StoredProcedureParameter *
insertAtPosition:int -> unit
public function Add(
storedProcedureParameter : StoredProcedureParameter,
insertAtPosition : int
)
Paramètres
- storedProcedureParameter
Type : Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureParameter
A StoredProcedureParameter object value that is to be added into the StoredProcedureParameterCollection object.
- insertAtPosition
Type : System. . :: . .Int32
An Int32 value that specifies the index position to insert the StoredProcedureParameter object into the StoredProcedureParameterCollection object.