ProcessModelSection.ComAuthenticationLevel Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
Değerlerden ProcessModelComAuthenticationLevel biri. Connect varsayılan değerdir.
- Öznitelikler
Örnekler
Aşağıdaki kod örneği özelliğine nasıl erişeceklerini 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. bu özelliğe atanan varsayılan değer, Machine.config dosyasında belirtildiği gibi şeklindedir Connect. Bu durumda DCOM, istemcinin kimlik bilgilerini yalnızca istemci sunucuyla bir ilişki kurduğunda doğrular.