Freigeben über


ProcessModelSection.ComAuthenticationLevel Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der die Authentifizierungsebene für die DCOM-Sicherheit angibt.

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

Das folgende Codebeispiel zeigt, wie Sie auf die ComAuthenticationLevel Eigenschaft zugreifen.


// 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 <a0/> festgelegt ist, bestimmt DCOM die Authentifizierungsstufe mithilfe des normalen Sicherheitsverhandlungsalgorithmus. Der dieser Eigenschaft zugewiesene Standardwert, wie in der datei Machine.config angegeben, lautet Connect. In diesem Fall authentifiziert DCOM die Anmeldeinformationen des Clients nur, wenn der Client eine Beziehung mit dem Server herstellt.

Gilt für: