共用方式為


LinkedServer.DropIfExists Method

Definition

Overloads

DropIfExists()

Drops the object with IF EXISTS option. If object is invalid for drop function will return without exception.

DropIfExists(Boolean)

Drops the object with IF EXISTS option. If object is invalid for drop function will return without exception.

DropIfExists()

Drops the object with IF EXISTS option. If object is invalid for drop function will return without exception.

public void DropIfExists ();
abstract member DropIfExists : unit -> unit
override this.DropIfExists : unit -> unit
Public Sub DropIfExists ()

Implements

Applies to

DropIfExists(Boolean)

Drops the object with IF EXISTS option. If object is invalid for drop function will return without exception.

public void DropIfExists (bool dropDependentLogins);
member this.DropIfExists : bool -> unit
Public Sub DropIfExists (dropDependentLogins As Boolean)

Parameters

dropDependentLogins
Boolean

Drop dependent linked server logins.

Applies to