LinkedServerLogin.SetRemotePassword Method

Include Protected Members
Include Inherited Members

Sets the password for an alternative logon name used when a distributed query or another SQL Server process accesses data on a linked server using an OLE DB Provider.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method SetRemotePassword(SecureString) Sets the password for an alternative login name used when a distributed query or another SQL Server process accesses data on a linked server using an OLE DB Provider.
Public method SetRemotePassword(String) Sets the password for an alternative logon name used when a distributed query or another SQL Server process accesses data on a linked server using an OLE DB Provider.

Top

Examples

Using Linked Servers in SMO

See Also

Reference

LinkedServerLogin Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Linked Servers (Database Engine)

sp_addlinkedsrvlogin (Transact-SQL)