Share via


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