ProcessModelSection.ComAuthenticationLevel プロパティとは何? わかりやすく解説 Weblio辞書 (original) (raw)

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

DCOM セキュリティ認証レベルを示す値を取得または設定します

名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文構文

Visual Basic (宣言)

Public Property ComAuthenticationLevel As ProcessModelComAuthenticationLevel

Visual Basic (使用法)

Dim instance As ProcessModelSection Dim value As ProcessModelComAuthenticationLevel

value = instance.ComAuthenticationLevel

instance.ComAuthenticationLevel = value

C#

public ProcessModelComAuthenticationLevel ComAuthenticationLevel { get; set; }

C++

public: property ProcessModelComAuthenticationLevel ComAuthenticationLevel { ProcessModelComAuthenticationLevel get (); void set (ProcessModelComAuthenticationLevel value); }

J#

/** @property */ public ProcessModelComAuthenticationLevel get_ComAuthenticationLevel ()

/** @property */ public void set_ComAuthenticationLevel (ProcessModelComAuthenticationLevel value)

JScript

public function get ComAuthenticationLevel () : ProcessModelComAuthenticationLevel

public function set ComAuthenticationLevel (value : ProcessModelComAuthenticationLevel)

プロパティ
ProcessModelComAuthenticationLevel 値の 1 つ既定値Connect です。

解説解説

このプロパティ値が Default設定されると、DCOM通常のセキュリティ ネゴシエーション アルゴリズム使用して認証レベル判断します。このプロパティ割り当てられている既定値Connect で、Machine.config ファイル指定されています。この場合DCOM は、クライアントサーバーとの関係を確立したときにだけ、クライアント資格情報認証します。

使用例使用例

ComAuthenticationLevel プロパティへのアクセス方法次のコード例示します

Visual Basic

' Get the current ComAuthenticationLevel property value. Dim comAuthLevel _ As ProcessModelComAuthenticationLevel = _ processModelSection.ComAuthenticationLevel

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

C#

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

// Set the ComAuthenticationLevel property to // ProcessModelComAuthenticationLevel.Call. processModelSection.ComAuthenticationLevel = ProcessModelComAuthenticationLevel.Call;

プラットフォームプラットフォーム

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォーム中には.NET Framework によってサポートされていないバージョンありますサポートされているバージョンについては、「システム要件」を参照してください

バージョン情報バージョン情報

.NET Framework
サポート対象 : 2.0

参照参照

関連項目
ProcessModelSection クラス
ProcessModelSection メンバ
System.Web.Configuration 名前空間
その他の技術情報
processModel 要素 (ASP.NET 設定スキーマ)