ILoggingProvider.ExecuteNonQuery method
會以執行 TRANSACT-SQL 查詢不傳回任何資料列。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Function ExecuteNonQuery ( _
command As SqlCommand _
) As Integer
'用途
Dim instance As ILoggingProvider
Dim command As SqlCommand
Dim returnValue As Integer
returnValue = instance.ExecuteNonQuery(command)
int ExecuteNonQuery(
SqlCommand command
)
參數
- command
Type: System.Data.SqlClient.SqlCommand
傳回值
Type: System.Int32
傳回 Int32。