Share via


LinkedServer.Script Method

Generates a Transact-SQL script that can be used to re-create the linked server registration.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
LinkedServer.Script ()
Generates a Transact-SQL script that can be used to re-create the linked server registration.
LinkedServer.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the linked server registration as specified by the script options.

See Also

Reference

LinkedServer Class
LinkedServer Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Scripting
Using Linked Servers in SMO
Linking Servers
sp_addlinkedserver (Transact-SQL)