ProcessModelSection.ComAuthenticationLevel Propiedad

Definición

Obtiene o establece un valor que indica el nivel de autenticación para la seguridad de 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

Valor de propiedad

Uno de los valores de ProcessModelComAuthenticationLevel. El valor predeterminado es Connect.

Atributos

Ejemplos

El siguiente ejemplo de código muestra cómo obtener acceso a la propiedad 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

Comentarios

Cuando este valor de propiedad se establece Defaulten , DCOM determina el nivel de autenticación mediante su algoritmo normal de negociación de seguridad. El valor predeterminado asignado a esta propiedad, tal como se especifica en el archivo Machine.config, es Connect. En este caso, DCOM autentica las credenciales del cliente solo cuando el cliente establece una relación con el servidor.

Se aplica a