Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

BackupRestoreBase.Database Property

Gets or sets the database on which the backup or restore operation runs.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
public string Database { get; set; }

Property Value

Type: System.String
A String value that contains the database name. By default, the value is an empty string.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.