StoredProcedureParameterCollection.Add 方法 (StoredProcedureParameter, Int32)
Adds a StoredProcedureParameter object to the StoredProcedureParameterCollection object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
storedProcedureParameter As StoredProcedureParameter, _
insertAtPosition As Integer _
)
'用途
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
)
參數
- storedProcedureParameter
型別:Microsoft.SqlServer.Management.Smo.StoredProcedureParameter
A StoredProcedureParameter object value that is to be added into the StoredProcedureParameterCollection object.
- insertAtPosition
型別:System.Int32
An Int32 value that specifies the index position to insert the StoredProcedureParameter object into the StoredProcedureParameterCollection object.