Partilhar via


Propriedade do RDL RestoreOptions.KeepReplication

Gets or sets whether to prevent replication settings from being removed when a database backup or log backup is restored on a warm standby server and the database is recovered.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (em Microsoft.SqlServer.SmoExtended.dll)

Sintaxe

'Declaração
Public Property KeepReplication As Boolean 
    Get 
    Set
'Uso
Dim instance As RestoreOptions 
Dim value As Boolean 

value = instance.KeepReplication

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

Valor da propriedade

Tipo: System.Boolean
True when prevent replication settings from being removed; otherwise, false.

Consulte também

Referência

RestoreOptions Classe

Namespace Microsoft.SqlServer.Management.Smo