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)
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

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