Condividi tramite


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)

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

Return value

Type: System.Int32
A Int32 number of rows affected.

Implements

ILoggingProvider.ExecuteNonQuery(SqlCommand)

Remarks

Warning

This member function is not implemented.

See also

Reference

SPUsageProvider class

SPUsageProvider members

Microsoft.SharePoint.Administration namespace