Condividi tramite


Proprietà 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.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Sintassi

'Dichiarazione
Public Property KeepReplication As Boolean 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

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

Vedere anche

Riferimento

RestoreOptions Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo