共用方式為


SqlSmoObject.DropImpl Method

Definition

Overloads

DropImpl(Boolean)

drops the object

DropImpl(Boolean, Boolean)

For drop calls on the user database in Azure, the connection will be closed as the database is dropped The ExecutionManager will normally attempt to retry such calls by reopening the connection We want to avoid this retry when handleSevereError is true.

DropImpl(Boolean)

drops the object

protected void DropImpl (bool isDropIfExists = false);
member this.DropImpl : bool -> unit
Protected Sub DropImpl (Optional isDropIfExists As Boolean = false)

Parameters

isDropIfExists
Boolean

If true, function will not do anything if object is not in valid state for dropping.

Applies to

DropImpl(Boolean, Boolean)

For drop calls on the user database in Azure, the connection will be closed as the database is dropped The ExecutionManager will normally attempt to retry such calls by reopening the connection We want to avoid this retry when handleSevereError is 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)

Parameters

isDropIfExists
Boolean
handleSevereError
Boolean

Indicates whether we should ignore the internal service error raised by management service (42019)

Applies to