Compartir a través de


KeepReplication Propiedad

Gets or sets a Boolean property value that specifies whether to maintain a replication configuration during a restore operation.

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

Sintaxis

'Declaración
Public Property KeepReplication As Boolean
    Get
    Set
'Uso
Dim instance As Restore
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 de la propiedad

Tipo: System. . :: . .Boolean
A Boolean value that indicates whether to keep the replication configuration.
If True, the replication configuration is kept in place.
If False (default), the replication configuration is ignored by the restore operation.