Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

LinkedServer.Drop Method (Boolean)


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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Drop(
	bool dropDependentLogins


Type: System.Boolean

A Boolean value that specifies whether to also drop logins that are dependent on the linked server that are represented by the LinkedServerLogins property.

If True, the dependent logins are dropped. Otherwise, False.

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft