Aracılığıyla paylaş


ProcessModelSection.ComAuthenticationLevel Özellik

Tanım

DCOM güvenliği için kimlik doğrulama düzeyini belirten bir değer alır veya ayarlar.

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

Özellik Değeri

ProcessModelComAuthenticationLevel değerlerinden biri. Varsayılan değer Connect değeridir.

Öznitelikler

Örnekler

Aşağıdaki kod örneği özelliğine nasıl eriş yapılacağını ComAuthenticationLevel gösterir.


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

Açıklamalar

Bu özellik değeri olarak Defaultayarlandığında, DCOM normal güvenlik anlaşması algoritmasını kullanarak kimlik doğrulama düzeyini belirler. Machine.config dosyasında belirtildiği gibi bu özelliğe atanan varsayılan değer olur Connect. Bu durumda DCOM, istemcinin kimlik bilgilerini yalnızca istemci sunucuyla bir ilişki kurduğunda doğrular.

Şunlara uygulanır