Compartir a través de


Database Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Sintaxis

'Declaración
Public Property Database As String
    Get
    Set
'Uso
Dim instance As BackupRestoreBase
Dim value As String

value = instance.Database

instance.Database = value
public string Database { get; set; }
public:
property String^ Database {
    String^ get ();
    void set (String^ value);
}
member Database : string with get, set
function get Database () : String
function set Database (value : String)

Valor de la propiedad

Tipo: System. . :: . .String
A String value that contains the database name. By default, the value is an empty string.