SqlSmoObject.DropImpl 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| DropImpl(Boolean) |
删除对象 |
| DropImpl(Boolean, Boolean) |
对于Azure中用户数据库的删除调用,连接将关闭,因为删除数据库。ExecutionManager 通常会尝试通过重新打开连接来重试此类调用,我们希望在 handleSevereError 为 true 时避免此重试。 |
DropImpl(Boolean)
删除对象
protected void DropImpl(bool isDropIfExists = false);
member this.DropImpl : bool -> unit
Protected Sub DropImpl (Optional isDropIfExists As Boolean = false)
参数
- isDropIfExists
- Boolean
如果为 true,则函数在对象未处于删除有效状态时不执行任何操作。
适用于
DropImpl(Boolean, Boolean)
对于Azure中用户数据库的删除调用,连接将关闭,因为删除数据库。ExecutionManager 通常会尝试通过重新打开连接来重试此类调用,我们希望在 handleSevereError 为 true 时避免此重试。
protected internal void DropImpl(bool isDropIfExists, bool handleSevereError);
member this.DropImpl : bool * bool -> unit
Protected Friend Sub DropImpl (isDropIfExists As Boolean, handleSevereError As Boolean)
参数
- isDropIfExists
- Boolean
- handleSevereError
- Boolean
指示是否应忽略管理服务引发的内部服务错误(42019)