共用方式為


SPDiagnosticsProvider.CreateStoredProcedure Method

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

See Also

Reference

SPDiagnosticsProvider Class

SPDiagnosticsProvider Members

Microsoft.SharePoint.Diagnostics Namespace