Share via


ProcessModelSection.ComAuthenticationLevel 속성

정의

DCOM 보안에 대한 인증 수준을 나타내는 값을 가져오거나 설정합니다.

public:
 property System::Web::Configuration::ProcessModelComAuthenticationLevel ComAuthenticationLevel { System::Web::Configuration::ProcessModelComAuthenticationLevel get(); void set(System::Web::Configuration::ProcessModelComAuthenticationLevel value); };
[System.Configuration.ConfigurationProperty("comAuthenticationLevel", DefaultValue=System.Web.Configuration.ProcessModelComAuthenticationLevel.Connect)]
public System.Web.Configuration.ProcessModelComAuthenticationLevel ComAuthenticationLevel { get; set; }
[<System.Configuration.ConfigurationProperty("comAuthenticationLevel", DefaultValue=System.Web.Configuration.ProcessModelComAuthenticationLevel.Connect)>]
member this.ComAuthenticationLevel : System.Web.Configuration.ProcessModelComAuthenticationLevel with get, set
Public Property ComAuthenticationLevel As ProcessModelComAuthenticationLevel

속성 값

ProcessModelComAuthenticationLevel 값 중 하나입니다. 기본값은 Connect입니다.

특성

예제

다음 코드 예제에서는 ComAuthenticationLevel 속성에 액세스하는 방법을 보여 줍니다.


// 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

설명

이 속성 값 설정 된 경우 Default, DCOM은 표준 보안 협상 알고리즘을 사용 하 여 인증 수준을 결정 합니다. Machine.config 파일에 지정 된 대로이 속성에 할당 된 기본 값 Connect합니다. 이 경우 DCOM 클라이언트 서버를 사용 하 여 관계를 설정 하는 경우에 클라이언트의 자격 증명을 인증 합니다.

적용 대상