SPUsageProvider.ExecuteNonQuery method
會以執行 TRANSACT-SQL 查詢不傳回任何資料列。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overridable Function ExecuteNonQuery ( _
command As SqlCommand _
) As Integer
'用途
Dim instance As SPUsageProvider
Dim command As SqlCommand
Dim returnValue As Integer
returnValue = instance.ExecuteNonQuery(command)
public virtual int ExecuteNonQuery(
SqlCommand command
)
參數
command
Type: System.Data.SqlClient.SqlCommand指定要執行的 TRANSACT-SQL 查詢**[System.Data.SqlClient.SqlCommand]**物件。
傳回值
Type: System.Int32
受影響的列Int32數。
Implements
ILoggingProvider.ExecuteNonQuery(SqlCommand)
備註
注意
尚未實作此成員函式。