Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Property KeepReplication As Boolean
Get
Set
'Usage
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)
Property Value
Type: System.Boolean
True when prevent replication settings from being removed; otherwise, false.