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.
Executes a series of Transact-SQL queries based on the specified string within a specified time-out period.
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Friend Sub ExecuteSql ( _
sql As String, _
commandTimeout As Integer _
)
'Usage
Dim sql As String
Dim commandTimeout As Integer
Me.ExecuteSql(sql, commandTimeout)
protected internal void ExecuteSql(
string sql,
int commandTimeout
)
Parameters
sql
Type: System.StringA string that contains the Transact-SQL queries to be executed.
commandTimeout
Type: System.Int32A 32-bit integer that specifies the number of minutes before the operation times out.