Mediachase FileUploader.NET 1.9 Framework Help

SqlHelperParameterCache.GetSpParameterSet Method (String, String, Boolean)

Retrieves the set of SqlParameters appropriate for the stored procedure

[Visual Basic]
Overloads Public Shared Function GetSpParameterSet( _
   ByVal connectionString As String, _
   ByVal spName As String, _
   ByVal includeReturnValueParameter As Boolean _
) As SqlParameter()
[C#]
public static SqlParameter[] GetSpParameterSet(
   string connectionString,
   string spName,
   bool includeReturnValueParameter
);

Parameters

connectionString
a valid connection string for a SqlConnection
spName
the name of the stored procedure
includeReturnValueParameter
a bool value indicating whether the return value parameter should be included in the results

Return Value

an array of SqlParameters

Remarks

This method will query the database for this information, and then store it in a cache for future requests.

See Also

SqlHelperParameterCache Class | Mediachase.FileUploader Namespace | SqlHelperParameterCache.GetSpParameterSet Overload List