LdapSettings.LdapConnection 属性

定义

LdapConnection用于检索角色声明的 。 如果未提供显式连接,则会根据 DomainMachineAccountNameMachineAccountPassword 选项自动创建 LDAP 连接。 如果提供,则将使用此连接, Domain并且 不会使用 和 MachineAccountNameMachineAccountPassword 选项来创建 LdapConnection

public:
 property System::DirectoryServices::Protocols::LdapConnection ^ LdapConnection { System::DirectoryServices::Protocols::LdapConnection ^ get(); void set(System::DirectoryServices::Protocols::LdapConnection ^ value); };
public System.DirectoryServices.Protocols.LdapConnection LdapConnection { get; set; }
public System.DirectoryServices.Protocols.LdapConnection? LdapConnection { get; set; }
member this.LdapConnection : System.DirectoryServices.Protocols.LdapConnection with get, set
Public Property LdapConnection As LdapConnection

属性值

适用于