Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub SetRemotePassword ( _
password As SecureString _
)
'Utilisation
Dim instance As LinkedServerLogin
Dim password As SecureString
instance.SetRemotePassword(password)
public void SetRemotePassword(
SecureString password
)
public:
void SetRemotePassword(
SecureString^ password
)
member SetRemotePassword :
password:SecureString -> unit
public function SetRemotePassword(
password : SecureString
)
Paramètres
- password
Type : System.Security.SecureString
A SecureString value that specifies the password that is used with the logon name specified in the RemoteUser property.
Notes
This property is only valid when the Impersonate property is set to the value True.
Exemples
Utilisation de serveurs liés dans SMO
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo