共用方式為


SPBackupRestoreInformation.Log Method (SqlCommand)

Writes the specified SqlCommand as a string to the backup or restore log file.

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Log ( _
    command As SqlCommand _
)
'Usage
Dim instance As SPBackupRestoreInformation
Dim command As SqlCommand

instance.Log(command)
public void Log(
    SqlCommand command
)

Parameters

See Also

Reference

SPBackupRestoreInformation Class

SPBackupRestoreInformation Members

Log Overload

Microsoft.SharePoint.Administration.Backup Namespace