共用方式為


AuthenticationMethod 列舉

Enumerates values that specify the supported HTTP authentication methods for Web synchronization.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Enumeration AuthenticationMethod
'用途
Dim instance As AuthenticationMethod
public enum AuthenticationMethod
public enum class AuthenticationMethod
type AuthenticationMethod
public enum AuthenticationMethod

成員

成員名稱 說明
BasicAuthentication Indicates the standard HTTP authentication mechanism that uses a login and a password.

HTTP Basic authentication sends authentication credentials in clear text. You must implement Secure Sockets Layer (SSL) between the Subscriber and the IIS server when you use Web synchronization.

WindowsAuthentication Indicates an HTTP authentication mechanism based on the Windows Challenge/Response authentication mechanism. The challenge/response mechanism works only when the Subscriber computer and the IIS server computer are located in the same Windows domain or in trusted Windows domains.

備註

This namespace, class, or member is supported only in the Microsoft .NET Framework version 2.0.

請參閱

參考

Microsoft.SqlServer.Replication 命名空間

其他資源

針對 Web 同步處理設定 IIS

如何:為合併式複寫設定 Web 同步處理 (RMO 程式設計)

合併式複寫的 Web 同步處理