ProcessModelSection.ComAuthenticationLevel プロパティとは何? わかりやすく解説 Weblio辞書 (original) (raw)
メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。
DCOM セキュリティの認証レベルを示す値を取得または設定します。
名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文
Public Property ComAuthenticationLevel As ProcessModelComAuthenticationLevel
Dim instance As ProcessModelSection Dim value As ProcessModelComAuthenticationLevel
value = instance.ComAuthenticationLevel
instance.ComAuthenticationLevel = value
public ProcessModelComAuthenticationLevel ComAuthenticationLevel { get; set; }
public: property ProcessModelComAuthenticationLevel ComAuthenticationLevel { ProcessModelComAuthenticationLevel get (); void set (ProcessModelComAuthenticationLevel value); }
/** @property */ public ProcessModelComAuthenticationLevel get_ComAuthenticationLevel ()
/** @property */ public void set_ComAuthenticationLevel (ProcessModelComAuthenticationLevel value)
public function get ComAuthenticationLevel () : ProcessModelComAuthenticationLevel
public function set ComAuthenticationLevel (value : ProcessModelComAuthenticationLevel)
プロパティ値
ProcessModelComAuthenticationLevel 値の 1 つ。既定値は Connect です。
このプロパティ値が Default に設定されると、DCOM は通常のセキュリティ ネゴシエーション アルゴリズムを使用して認証レベルを判断します。このプロパティに割り当てられている既定値は Connect で、Machine.config ファイルに指定されています。この場合、DCOM は、クライアントがサーバーとの関係を確立したときにだけ、クライアントの資格情報を認証します。
ComAuthenticationLevel プロパティへのアクセス方法を次のコード例に示します。
' Get the current ComAuthenticationLevel property value. Dim comAuthLevel _ As ProcessModelComAuthenticationLevel = _ processModelSection.ComAuthenticationLevel
' Set the ComAuthenticationLevel property to ' ProcessModelComAuthenticationLevel.Call. processModelSection.ComAuthenticationLevel = _ ProcessModelComAuthenticationLevel.Call
// 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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
関連項目
ProcessModelSection クラス
ProcessModelSection メンバ
System.Web.Configuration 名前空間
その他の技術情報
processModel 要素 (ASP.NET 設定スキーマ)