LinkedServer.Drop 方法

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub Drop
用法
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()

实现

IDroppable.Drop()

注释

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

示例

在 SMO 中使用链接服务器

请参阅

参考

LinkedServer 类

Drop 重载

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

链接服务器(数据库引擎)

sp_addlinkedserver (Transact-SQL)