Aracılığıyla paylaş


MergePullSubscription.SecureInternetPassword Property

Definition

Sets the password (as a SecureString object) used when connecting to the Web server using HTTP Basic Authentication.

public:
 property System::Security::SecureString ^ SecureInternetPassword { System::Security::SecureString ^ get(); void set(System::Security::SecureString ^ value); };
public System.Security.SecureString SecureInternetPassword { get; set; }
member this.SecureInternetPassword : System.Security.SecureString with get, set
Public Property SecureInternetPassword As SecureString

Property Value

A SecureString value.

Remarks

The SecureInternetPassword property provides additional security for the password while it is stored in memory and should be used instead of InternetPassword.

When possible, prompt users to enter security credentials at runtime. If you must store credentials, use the cryptographic services provided by the Microsoft Windows .NET Framework.

The password is never returned by SecureInternetPassword.

You should use BasicAuthentication with Web synchronization. For more information, see Web Synchronization for Merge Replication.

The SecureInternetPassword property can only be set by members of the sysadmin fixed server role at the Subscriber or by members of the db_owner fixed database role on the subscription database.

Setting the SecureInternetPassword property is equivalent to executing sp_addmergepullsubscription_agent or sp_changemergepullsubscription.

This property is only used if the UseWebSynchronization property is true.

Applies to

See also