DirectoryEntry.AuthenticationType 属性

定义

获取或设置要使用的身份验证的类型。

public:
 property System::DirectoryServices::AuthenticationTypes AuthenticationType { System::DirectoryServices::AuthenticationTypes get(); void set(System::DirectoryServices::AuthenticationTypes value); };
public System.DirectoryServices.AuthenticationTypes AuthenticationType { get; set; }
[System.DirectoryServices.DSDescription("DSAuthenticationType")]
public System.DirectoryServices.AuthenticationTypes AuthenticationType { get; set; }
member this.AuthenticationType : System.DirectoryServices.AuthenticationTypes with get, set
[<System.DirectoryServices.DSDescription("DSAuthenticationType")>]
member this.AuthenticationType : System.DirectoryServices.AuthenticationTypes with get, set
Public Property AuthenticationType As AuthenticationTypes

属性值

AuthenticationTypes 值之一。

属性

注解

在 .NET Framework 2.0 之前,默认值为 None。 从 .NET Framework 2.0 开始,默认值为 Secure

适用于

另请参阅