ProcessModelSection.ComAuthenticationLevel Eigenschaft

Definition

Ruft einen Wert ab, der die Ebene der Authentifizierung der DCOM-Sicherheit angibt, oder legt diesen fest.

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

Eigenschaftswert

Einer der ProcessModelComAuthenticationLevel-Werte. Der Standardwert ist Connect.

Attribute

Beispiele

Im folgenden Codebeispiel wird der Zugriff auf die ComAuthenticationLevel-Eigenschaft veranschaulicht.


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

Hinweise

Wenn dieser Eigenschaftswert auf Defaultfestgelegt ist, bestimmt DCOM die Authentifizierungsebene mithilfe des normalen Sicherheitsverhandlungsalgorithmus. Der dieser Eigenschaft zugewiesene Standardwert, wie in der Machine.config-Datei angegeben, ist Connect. In diesem Fall authentifiziert DCOM die Anmeldeinformationen des Clients nur, wenn der Client eine Beziehung mit dem Server herstellt.

Gilt für: