SPDiagnosticsProvider.ExecuteNonQuery-Methode
Führt eine Transact-SQL-Abfrage, die keine Zeilen zurückgibt.
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Function ExecuteNonQuery ( _
command As SqlCommand _
) As Integer
'Usage
Dim instance As SPDiagnosticsProvider
Dim command As SqlCommand
Dim returnValue As Integer
returnValue = instance.ExecuteNonQuery(command)
public virtual int ExecuteNonQuery(
SqlCommand command
)
Parameter
command
Typ: System.Data.SqlClient.SqlCommandEin SQLCommand-Objekt, das die auszuführende Transact-SQL-Abfrage enthält.
Rückgabewert
Typ: System.Int32
Gibt ein Int32 , der die Anzahl der von der angegebene Befehl zurückgegebenen Zeilen zurück.
Implementiert
ILoggingProvider.ExecuteNonQuery(SqlCommand)