Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates or alters the specified stored procedure object.
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Sub CreateStoredProcedure ( _
name As String, _
parameters As IList(Of SqlParameter), _
body As String _
)
'Usage
Dim name As String
Dim parameters As IList(Of SqlParameter)
Dim body As String
Me.CreateStoredProcedure(name, parameters, _
body)
protected void CreateStoredProcedure(
string name,
IList<SqlParameter> parameters,
string body
)
Parameters
name
Type: System.StringThe name of the stored procedure.
parameters
Type: System.Collections.Generic.IList<SqlParameter>The parameters to be provided to the stored procedure.
- body
Type: System.String