共用方式為


ProcessModelComAuthenticationLevel 列舉

定義

指定 DCOM 安全性的驗證層級。

public enum class ProcessModelComAuthenticationLevel
public enum ProcessModelComAuthenticationLevel
type ProcessModelComAuthenticationLevel = 
Public Enum ProcessModelComAuthenticationLevel
繼承
ProcessModelComAuthenticationLevel

欄位

名稱 Description
None 0

沒有指定任何認證。 此欄位是常數。

Call 1

規定當伺服器在每次遠端程序呼叫開始時收到請求時,DCOM 會驗證用戶端的憑證。

Connect 2

規定 DCOM 僅在用戶端與伺服器建立關係時,才驗證其憑證。 這是預設值。

Default 3

指定 DCOM 使用其正常的安全協商演算法來決定認證等級。

Pkt 4

規定 DCOM 會驗證所有接收的資料均來自預期客戶端。 資料報傳輸始終使用 Pkt 認證。

PktIntegrity 5

規定 DCOM 會進行驗證並驗證用戶端與伺服器間傳輸的資料未被修改。

PktPrivacy 6

規定 DCOM 驗證所有先前層級,並加密每個遠端程序呼叫的參數值。

範例

以下範例說明如何取得當前 ProcessModelSection.ComAuthenticationLevel 房產價值,然後將其設為 Call


// Get the current ComAuthenticationLevel property value.
ProcessModelComAuthenticationLevel comAuthLevel = 
   processModelSection.ComAuthenticationLevel;

// Set the ComAuthenticationLevel property to
// ProcessModelComAuthenticationLevel.Call.
processModelSection.ComAuthenticationLevel =
    ProcessModelComAuthenticationLevel.Call;
' Get the current ComAuthenticationLevel property value.
   Dim comAuthLevel _
   As ProcessModelComAuthenticationLevel = _
   processModelSection.ComAuthenticationLevel

' Set the ComAuthenticationLevel property to
' ProcessModelComAuthenticationLevel.Call.
   processModelSection.ComAuthenticationLevel = _
   ProcessModelComAuthenticationLevel.Call

備註

ProcessModelComAuthenticationLevel 定義了設定 ProcessModelSection.ComAuthenticationLevel 屬性時要使用的值。

預設值為 Connect

備註

ProcessModelComAuthenticationLevel這些設定僅在使用 ASP.NET 流程模型(Internet Information Services [IIS] 5.n 或僅 IIS 6 的相容模式)時才相關。

適用於

另請參閱