Compartir a través de


Restore.Partial Propiedad

Gets or sets a Boolean property value that specifies whether a partial or full restore operation will be performed.

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

Sintaxis

'Declaración
Public Property Partial As Boolean 
    Get 
    Set
'Uso
Dim instance As Restore 
Dim value As Boolean 

value = instance.Partial

instance.Partial = value
public bool Partial { get; set; }
public:
property bool Partial {
    bool get ();
    void set (bool value);
}
member Partial : bool with get, set
function get Partial () : boolean 
function set Partial (value : boolean)

Valor de la propiedad

Tipo: System.Boolean
A Boolean value that indicates whether this is a full or partial restore operation.If True, the restore operation is a partial restore. Otherwise, False (default).

Ejemplos

The following code example sets the restore instance to perform a partial operation.

VB

Dim rs As Restore
rs = New Restore
rs.Partial = true

PowerShell

$rs = new-object Microsoft.SqlServer.Management.Smo.Restore
$rs.Partial = $TRUE

Vea también

Referencia

Restore Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

RESTORE (Transact-SQL)

Realizar copias de seguridad y restaurar bases de datos de SQL Server