Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetRemotePassword Method (SecureString)
Collapse the table of content
Expand the table of content

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

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

public void SetRemotePassword(
	SecureString password
)

Parameters

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

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

Community Additions

ADD
Show:
© 2015 Microsoft