Dela via


NumberedStoredProcedureParameterCollection.Add Method (NumberedStoredProcedureParameter, Int32)

Adds a NumberedStoredProcedureParameterCollection to the collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Add ( _
    numberedStoredProcedureParameter As NumberedStoredProcedureParameter, _
    insertAtPosition As Integer _
)
'Usage
Dim instance As NumberedStoredProcedureParameterCollection
Dim numberedStoredProcedureParameter As NumberedStoredProcedureParameter
Dim insertAtPosition As Integer

instance.Add(numberedStoredProcedureParameter, _
    insertAtPosition)
public void Add(
    NumberedStoredProcedureParameter numberedStoredProcedureParameter,
    int insertAtPosition
)
public:
void Add(
    NumberedStoredProcedureParameter^ numberedStoredProcedureParameter, 
    int insertAtPosition
)
member Add : 
        numberedStoredProcedureParameter:NumberedStoredProcedureParameter * 
        insertAtPosition:int -> unit 
public function Add(
    numberedStoredProcedureParameter : NumberedStoredProcedureParameter, 
    insertAtPosition : int
)

Parameters

  • insertAtPosition
    Type: System.Int32
    Int32 identifying the position in the collection where the new Numbered Stored Procedure Parameter is to be placed.