Get or set boolean that specifies whether deployment should stop if the operation could cause data loss.
命名空间: Microsoft.SqlServer.Dac
程序集: Microsoft.SqlServer.Dac(在 Microsoft.SqlServer.Dac.dll 中)
语法
声明
Public Property BlockOnPossibleDataLoss As Boolean
Get
Set
用法
Dim instance As DacDeployOptions
Dim value As Boolean
value = instance.BlockOnPossibleDataLoss
instance.BlockOnPossibleDataLoss = value
public bool BlockOnPossibleDataLoss { get; set; }
public:
property bool BlockOnPossibleDataLoss {
bool get ();
void set (bool value);
}
member BlockOnPossibleDataLoss : bool with get, set
function get BlockOnPossibleDataLoss () : boolean
function set BlockOnPossibleDataLoss (value : boolean)
属性值
类型:System.Boolean
True to stop deployment if possible data loss if detected; otherwise, false. Default is true.