ProcessModelSection.ComAuthenticationLevel Eigenschap

Definitie

Hiermee wordt een waarde opgehaald of ingesteld die het verificatieniveau voor DCOM-beveiliging aangeeft.

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

Waarde van eigenschap

Een van de ProcessModelComAuthenticationLevel waarden. De standaardwaarde is Connect.

Kenmerken

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u toegang hebt tot de ComAuthenticationLevel eigenschap.


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

Opmerkingen

Wanneer deze eigenschapswaarde is ingesteld op Default, bepaalt DCOM het verificatieniveau met behulp van het normale algoritme voor beveiligingsonderhandeling. De standaardwaarde die is toegewezen aan deze eigenschap, zoals opgegeven in het bestand Machine.config, is Connect. In dit geval worden de referenties van de client alleen geverifieerd wanneer de client een relatie tot stand brengt met de server.

Van toepassing op