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
command
Type: System.Data.SqlClient.SqlCommandThe SQL command that is logged.
See also
Reference
SPBackupRestoreInformation class