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.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)
語法
'宣告
Public Property KeepReplication As Boolean
Get
Set
'用途
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)
屬性值
型別:System.Boolean
True when prevent replication settings from being removed; otherwise, false.