StoredProcedureParameterCollection.Add Método (StoredProcedureParameter, Int32)
Adds a StoredProcedureParameter object to the StoredProcedureParameterCollection object.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Add ( _
storedProcedureParameter As StoredProcedureParameter, _
insertAtPosition As Integer _
)
'Uso
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
)
Parámetros
- storedProcedureParameter
Tipo: Microsoft.SqlServer.Management.Smo.StoredProcedureParameter
A StoredProcedureParameter object value that is to be added into the StoredProcedureParameterCollection object.
- insertAtPosition
Tipo: System.Int32
An Int32 value that specifies the index position to insert the StoredProcedureParameter object into the StoredProcedureParameterCollection object.