StoredProcedureParameterCollection.Add-Methode (StoredProcedureParameter, Int32)
Adds a StoredProcedureParameter object to the StoredProcedureParameterCollection object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
storedProcedureParameter As StoredProcedureParameter, _
insertAtPosition As Integer _
)
'Usage
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
)
Parameter
- storedProcedureParameter
Typ: Microsoft.SqlServer.Management.Smo.StoredProcedureParameter
A StoredProcedureParameter object value that is to be added into the StoredProcedureParameterCollection object.
- insertAtPosition
Typ: System.Int32
An Int32 value that specifies the index position to insert the StoredProcedureParameter object into the StoredProcedureParameterCollection object.