語言

LdapDirectoryIdentifier 建構函式

定義

建立 LdapDirectoryIdentifier 類別的執行個體。

多載

名稱 Description
LdapDirectoryIdentifier(String)

LdapDirectoryIdentifier(String)建構子會利用指定的伺服器建立該LdapDirectoryIdentifier類別的實例。

LdapDirectoryIdentifier(String, Int32)

LdapDirectoryIdentifier(String, Int32)建構子會利用指定的伺服器和屬性建立該LdapDirectoryIdentifier類別的實例。 此建構器會建立一個識別碼,代表一組 LDAP 伺服器。

LdapDirectoryIdentifier(String, Boolean, Boolean)

LdapDirectoryIdentifier(String, Boolean, Boolean)建構子會利用指定的伺服器和屬性建立該LdapDirectoryIdentifier類別的實例。 此建構器會建立一個識別碼,代表一組 LDAP 伺服器。

LdapDirectoryIdentifier(String[], Boolean, Boolean)

LdapDirectoryIdentifier(String, Boolean, Boolean)建構子會利用指定的伺服器和屬性建立該LdapDirectoryIdentifier類別的實例。 此建構器會建立一個識別碼,代表一組 LDAP 伺服器。

LdapDirectoryIdentifier(String, Int32, Boolean, Boolean)

LdapDirectoryIdentifier(String, Int32, Boolean, Boolean)建構子會利用指定的伺服器和屬性建立該LdapDirectoryIdentifier類別的實例。 此建構器會建立一個識別碼,代表一組 LDAP 伺服器。

LdapDirectoryIdentifier(String[], Int32, Boolean, Boolean)

LdapDirectoryIdentifier(String[], Int32, Boolean, Boolean)建構子會利用指定的伺服器和屬性建立該LdapDirectoryIdentifier類別的實例。 此建構器會建立一個識別碼,代表一組 LDAP 伺服器。

LdapDirectoryIdentifier(String)

來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs

LdapDirectoryIdentifier(String)建構子會利用指定的伺服器建立該LdapDirectoryIdentifier類別的實例。

public:
 LdapDirectoryIdentifier(System::String ^ server);
public LdapDirectoryIdentifier(string server);
new System.DirectoryServices.Protocols.LdapDirectoryIdentifier : string -> System.DirectoryServices.Protocols.LdapDirectoryIdentifier
Public Sub New (server As String)

參數

server
String

伺服器 ID。 指定伺服器的字串可以是網域名稱、LDAP 伺服器名稱或虛點字串代表 LDAP 伺服器的 IP 位址,或 null。 若 null,則代表與該電腦帳號相關網域中任一網域控制器的身份。

此參數可選擇性地包含一個埠號,並以冒號(:) 與 ID 本身分隔。

例外狀況

server 有空間。

適用於

LdapDirectoryIdentifier(String, Int32)

來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs

LdapDirectoryIdentifier(String, Int32)建構子會利用指定的伺服器和屬性建立該LdapDirectoryIdentifier類別的實例。 此建構器會建立一個識別碼,代表一組 LDAP 伺服器。

public:
 LdapDirectoryIdentifier(System::String ^ server, int portNumber);
public LdapDirectoryIdentifier(string server, int portNumber);
new System.DirectoryServices.Protocols.LdapDirectoryIdentifier : string * int -> System.DirectoryServices.Protocols.LdapDirectoryIdentifier
Public Sub New (server As String, portNumber As Integer)

參數

server
String

伺服器 ID。 指定伺服器的字串可以是網域名稱、LDAP 伺服器名稱或虛線字串,代表 LDAP 伺服器的 IP 位址。 此參數可選擇性地包含一個埠號,並以冒號(:) 與 ID 本身分隔。

portNumber
Int32

連接伺服器時使用的埠號。

例外狀況

server 有空間。

適用於

LdapDirectoryIdentifier(String, Boolean, Boolean)

來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs

LdapDirectoryIdentifier(String, Boolean, Boolean)建構子會利用指定的伺服器和屬性建立該LdapDirectoryIdentifier類別的實例。 此建構器會建立一個識別碼,代表一組 LDAP 伺服器。

public:
 LdapDirectoryIdentifier(System::String ^ server, bool fullyQualifiedDnsHostName, bool connectionless);
public LdapDirectoryIdentifier(string server, bool fullyQualifiedDnsHostName, bool connectionless);
new System.DirectoryServices.Protocols.LdapDirectoryIdentifier : string * bool * bool -> System.DirectoryServices.Protocols.LdapDirectoryIdentifier
Public Sub New (server As String, fullyQualifiedDnsHostName As Boolean, connectionless As Boolean)

參數

server
String

伺服器 ID。 指定伺服器的字串可以是網域名稱、LDAP 伺服器名稱或虛線字串,代表 LDAP 伺服器的 IP 位址。 此參數可選擇性地包含一個埠號,並以冒號(:) 與 ID 本身分隔。

fullyQualifiedDnsHostName
Boolean

true 如果伺服器中的每個元素都是完全限定的 DNS 主機名稱。 若 false,元素可以是 IP 位址、DNS 網域或主機名稱,或 null。 若 null,則代表與該電腦帳號相關網域中任一網域控制器的身份。

connectionless
Boolean

true 如果連線是 UDP 或 false 使用 TCP/IP。

例外狀況

server 僅包含空白區域。

適用於

LdapDirectoryIdentifier(String[], Boolean, Boolean)

來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs

LdapDirectoryIdentifier(String, Boolean, Boolean)建構子會利用指定的伺服器和屬性建立該LdapDirectoryIdentifier類別的實例。 此建構器會建立一個識別碼,代表一組 LDAP 伺服器。

public:
 LdapDirectoryIdentifier(cli::array <System::String ^> ^ servers, bool fullyQualifiedDnsHostName, bool connectionless);
public LdapDirectoryIdentifier(string[] servers, bool fullyQualifiedDnsHostName, bool connectionless);
new System.DirectoryServices.Protocols.LdapDirectoryIdentifier : string[] * bool * bool -> System.DirectoryServices.Protocols.LdapDirectoryIdentifier
Public Sub New (servers As String(), fullyQualifiedDnsHostName As Boolean, connectionless As Boolean)

參數

servers
String[]

伺服器 ID。 指定伺服器的字串可以是網域名稱、LDAP 伺服器名稱或虛線字串,代表 LDAP 伺服器的 IP 位址。 此參數可選擇性地包含一個埠號,並以冒號(:) 與 ID 本身分隔。

fullyQualifiedDnsHostName
Boolean

true 如果伺服器中的每個元素都是完全限定的 DNS 主機名稱。 若 false,元素可以是 IP 位址、DNS 網域或主機名稱,或是空。 若為空,則代表與該電腦帳號相關網域中任一網域控制器的身份。

connectionless
Boolean

true 如果連線是 UDP 或 false 使用 TCP/IP。

例外狀況

servers 有空間。

適用於

LdapDirectoryIdentifier(String, Int32, Boolean, Boolean)

來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs

LdapDirectoryIdentifier(String, Int32, Boolean, Boolean)建構子會利用指定的伺服器和屬性建立該LdapDirectoryIdentifier類別的實例。 此建構器會建立一個識別碼,代表一組 LDAP 伺服器。

public:
 LdapDirectoryIdentifier(System::String ^ server, int portNumber, bool fullyQualifiedDnsHostName, bool connectionless);
public LdapDirectoryIdentifier(string server, int portNumber, bool fullyQualifiedDnsHostName, bool connectionless);
new System.DirectoryServices.Protocols.LdapDirectoryIdentifier : string * int * bool * bool -> System.DirectoryServices.Protocols.LdapDirectoryIdentifier
Public Sub New (server As String, portNumber As Integer, fullyQualifiedDnsHostName As Boolean, connectionless As Boolean)

參數

server
String

伺服器 ID。 指定伺服器的字串可以是網域名稱、LDAP 伺服器名稱或虛線字串,代表 LDAP 伺服器的 IP 位址。 此參數可選擇性地包含一個埠號,並以冒號(:) 與 ID 本身分隔。

portNumber
Int32

連接伺服器時要使用的埠號。

fullyQualifiedDnsHostName
Boolean

true 如果伺服器中的每個元素都是完全限定的 DNS 主機名稱。 若 false,元素可以是 IP 位址、DNS 網域或主機名稱,或是空。 若為空,則代表與該電腦帳號相關網域中任一網域控制器的身份。

connectionless
Boolean

true 如果連線是 UDP 或 false 使用 TCP/IP。

例外狀況

server 有空間。

適用於

LdapDirectoryIdentifier(String[], Int32, Boolean, Boolean)

來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs
來源:
LdapDirectoryIdentifier.cs

LdapDirectoryIdentifier(String[], Int32, Boolean, Boolean)建構子會利用指定的伺服器和屬性建立該LdapDirectoryIdentifier類別的實例。 此建構器會建立一個識別碼,代表一組 LDAP 伺服器。

public:
 LdapDirectoryIdentifier(cli::array <System::String ^> ^ servers, int portNumber, bool fullyQualifiedDnsHostName, bool connectionless);
public LdapDirectoryIdentifier(string[] servers, int portNumber, bool fullyQualifiedDnsHostName, bool connectionless);
new System.DirectoryServices.Protocols.LdapDirectoryIdentifier : string[] * int * bool * bool -> System.DirectoryServices.Protocols.LdapDirectoryIdentifier
Public Sub New (servers As String(), portNumber As Integer, fullyQualifiedDnsHostName As Boolean, connectionless As Boolean)

參數

servers
String[]

伺服器 ID。 指定伺服器的字串可以是網域名稱、LDAP 伺服器名稱或虛線字串,代表 LDAP 伺服器的 IP 位址。 此參數可選擇性地包含一個埠號,並以冒號(:) 與 ID 本身分隔。

portNumber
Int32

連接伺服器時使用的埠號。

fullyQualifiedDnsHostName
Boolean

true 如果伺服器中的每個元素都是完全限定的 DNS 主機名稱。 若 false,元素可以是 IP 位址、DNS 網域或主機名稱,或是空。 若為空,則代表與該電腦帳號相關網域中任一網域控制器的身份。

connectionless
Boolean

true 如果連線是 UDP 或 false 使用 TCP/IP。

例外狀況

servers 有空間。

適用於