ProcessModelSection.ComAuthenticationLevel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating the level of authentication for DCOM security.
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
Property Value
One of the ProcessModelComAuthenticationLevel values. The default value is Connect.
- Attributes
Examples
The following code example shows how to access the ComAuthenticationLevel property.
// 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
Remarks
When this property value is set to Default, DCOM determines the authentication level using its normal security-negotiation algorithm. The default value assigned to this property, as specified in the Machine.config file, is Connect. In this case, DCOM authenticates the credentials of the client only when the client establishes a relationship with the server.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈