SQLBackup Method (SQL-DMO)

The SQLBackup method performs the database backup operation specified by the properties of the Backup object used.

Applies To

Backup Object

Syntax

object.SQLBackup( SQLServer )

Part Description
object Expression that evaluates to an object in the Applies To list
SQLServer SQLServer object connected to the Microsoft® SQL Server™ installation that is the source of the backup operation

Remarks

To perform a database backup operation by using SQL-DMO, the application specifies the operation process by setting Backup object properties, then calls the SQLBackup method. For more information about Backup object properties and their effects on the backup operation process, see Backup Object.

Prototype (C/C++)

HRESULT SQLBackup(LPSQLDMOSERVER ServerObject);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.