Compartilhar via


SPStoredProcedureVerifier Constructor

Initializes a new instance of the SPStoredProcedureVerifier class.

Namespace:  Microsoft.SharePoint.Upgrade
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    database As SPDatabaseSequence, _
    log As SPLog, _
    sqlStreamReader As StreamReader, _
    sqlTimeOut As Integer, _
    refreshTriggerAndView As Boolean _
)
'Usage
Dim database As SPDatabaseSequence
Dim log As SPLog
Dim sqlStreamReader As StreamReader
Dim sqlTimeOut As Integer
Dim refreshTriggerAndView As Boolean

Dim instance As New SPStoredProcedureVerifier(database, _
    log, sqlStreamReader, sqlTimeOut, _
    refreshTriggerAndView)
public SPStoredProcedureVerifier(
    SPDatabaseSequence database,
    SPLog log,
    StreamReader sqlStreamReader,
    int sqlTimeOut,
    bool refreshTriggerAndView
)

Parameters

  • sqlTimeOut
    Type: System.Int32

    The SQL command timeout, in hours.

  • refreshTriggerAndView
    Type: System.Boolean

    true to refresh triggers and views instead of dropping them; otherwise, false.

See Also

Reference

SPStoredProcedureVerifier Class

SPStoredProcedureVerifier Members

Microsoft.SharePoint.Upgrade Namespace