Share via


Méthode Drop

Removes the reference to the linked server from the instance of SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub Drop
'Utilisation
Dim instance As LinkedServer

instance.Drop()
public void Drop()
public:
virtual void Drop() sealed
abstract Drop : unit -> unit 
override Drop : unit -> unit 
public final function Drop()

Implémente

IDroppable. . :: . .Drop() () () ()

Notes

This method removes the registration item that represents a linked server. It does not remove an instance of SQL Server.