Export (0) Print
Expand All

LinkedServerLogin.SetRemotePassword Method (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.

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

public void SetRemotePassword(
	string password


Type: String
A String value that specifies the password that is used with the logon name specified in the RemoteUser property.

This property is valid only when the Impersonate property is set to the value True.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft