MergePullSubscription.SecureInternetPassword 속성

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

구문

‘선언
Public Property SecureInternetPassword As SecureString 
    Get 
    Set
‘사용 방법
Dim instance As MergePullSubscription 
Dim value As SecureString 

value = instance.SecureInternetPassword

instance.SecureInternetPassword = value
public SecureString SecureInternetPassword { get; set; }
public:
property SecureString^ SecureInternetPassword {
    SecureString^ get ();
    void set (SecureString^ value);
}
member SecureInternetPassword : SecureString with get, set
function get SecureInternetPassword () : SecureString 
function set SecureInternetPassword (value : SecureString)

속성 값

유형: System.Security.SecureString
A SecureString value.

주의

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 병합 복제에 대한 웹 동기화.

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.

참고 항목

참조

MergePullSubscription 클래스

Microsoft.SqlServer.Replication 네임스페이스

관련 자료

방법: 병합 복제에 대한 웹 동기화 구성(RMO 프로그래밍)