Share via


BackupStatement.DatabaseName Property

Gets or sets the database to back up.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property DatabaseName As TSqlFragment
public TSqlFragment DatabaseName { get; set; }
public:
property TSqlFragment^ DatabaseName {
    TSqlFragment^ get ();
    void set (TSqlFragment^ value);
}
member DatabaseName : TSqlFragment with get, set
function get DatabaseName () : TSqlFragment
function set DatabaseName (value : TSqlFragment)

Property Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
Returns a TSqlFragment.

Remarks

Can be an Identifier or a variable Literal.

.NET Framework Security

See Also

Reference

BackupStatement Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace