Create backup of an Sql Server Database.

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Function BackupDatabase ( _
	databaseName As String, _
	connectionString As String, _
	outputFilename As String _
) As Boolean
C#
public static bool BackupDatabase(
	string databaseName,
	string connectionString,
	string outputFilename
)

Parameters

databaseName
Type: System..::..String
connectionString
Type: System..::..String
outputFilename
Type: System..::..String

Return Value

See Also