共用方式為


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
)

參數

傳回值

Type: System.Int32
傳回 Int32

請參閱

參照

ILoggingProvider interface

ILoggingProvider members

Microsoft.SharePoint.Administration namespace