SPUsageProvider.ExecuteNonQuery Method
Executes a Transact-SQL query that does not return any rows.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overridable Function ExecuteNonQuery ( _
command As SqlCommand _
) As Integer
'Usage
Dim instance As SPUsageProvider
Dim command As SqlCommand
Dim returnValue As Integer
returnValue = instance.ExecuteNonQuery(command)
public virtual int ExecuteNonQuery(
SqlCommand command
)
Parameters
command
Type: System.Data.SqlClient.SqlCommandA [System.Data.SqlClient.SqlCommand] object specifying the Transact-SQL query to execute.
Return Value
Type: System.Int32
A Int32 number of rows affected.
Implements
ILoggingProvider.ExecuteNonQuery(SqlCommand)
Remarks
Warning
This member function is not implemented.