Método StoredProcedureParameterCollection.Add (StoredProcedureParameter, Int32)
Adds a StoredProcedureParameter object to the StoredProcedureParameterCollection object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
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.