LdapDirectoryIdentifier Constructors
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.
Creates an instance of the LdapDirectoryIdentifier class.
Overloads
LdapDirectoryIdentifier(String) |
The LdapDirectoryIdentifier(String) constructor creates an instance of the LdapDirectoryIdentifier class using the specified server. |
LdapDirectoryIdentifier(String, Int32) |
The LdapDirectoryIdentifier(String, Int32) constructor creates an instance of the LdapDirectoryIdentifier class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers. |
LdapDirectoryIdentifier(String, Boolean, Boolean) |
The LdapDirectoryIdentifier(String, Boolean, Boolean) constructor creates an instance of the LdapDirectoryIdentifier class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers. |
LdapDirectoryIdentifier(String[], Boolean, Boolean) |
The LdapDirectoryIdentifier(String, Boolean, Boolean) constructor creates an instance of the LdapDirectoryIdentifier class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers. |
LdapDirectoryIdentifier(String, Int32, Boolean, Boolean) |
The LdapDirectoryIdentifier(String, Int32, Boolean, Boolean) constructor creates an instance of the LdapDirectoryIdentifier class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers. |
LdapDirectoryIdentifier(String[], Int32, Boolean, Boolean) |
The LdapDirectoryIdentifier(String[], Int32, Boolean, Boolean) constructor creates an instance of the LdapDirectoryIdentifier class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers. |
LdapDirectoryIdentifier(String)
- Source:
- LdapDirectoryIdentifier.cs
- Source:
- LdapDirectoryIdentifier.cs
The LdapDirectoryIdentifier(String) constructor creates an instance of the LdapDirectoryIdentifier class using the specified server.
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)
Parameters
- server
- String
The server ID. A string specifying the server which can be a domain name, LDAP server name or dotted strings representing the IP address of the LDAP server, or null
. If null
, it represents the identity of any domain controller in the domain associated with the computer account.
Optionally, this parameter may also include a port number, separated from the ID itself by a colon (:).
Exceptions
server
has space.
Applies to
LdapDirectoryIdentifier(String, Int32)
- Source:
- LdapDirectoryIdentifier.cs
- Source:
- LdapDirectoryIdentifier.cs
The LdapDirectoryIdentifier(String, Int32) constructor creates an instance of the LdapDirectoryIdentifier class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers.
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)
Parameters
- server
- String
The server ID. A string specifying the server which can be a domain name, LDAP server name or dotted strings representing the IP address of the LDAP server. Optionally, this parameter may also include a port number, separated from the ID itself by a colon (:).
- portNumber
- Int32
The port number to use when connecting to the server.
Exceptions
server
has space.
Applies to
LdapDirectoryIdentifier(String, Boolean, Boolean)
- Source:
- LdapDirectoryIdentifier.cs
- Source:
- LdapDirectoryIdentifier.cs
The LdapDirectoryIdentifier(String, Boolean, Boolean) constructor creates an instance of the LdapDirectoryIdentifier class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers.
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)
Parameters
- server
- String
The server ID. A string specifying the server which can be a domain name, LDAP server name or dotted strings representing the IP address of the LDAP server. Optionally, this parameter may also include a port number, separated from the ID itself by a colon (:).
- fullyQualifiedDnsHostName
- Boolean
true
if each element in servers is a fully-qualified DNS host name. If false
, an element can be an IP address, a DNS domain or host name, or null
. If null
, it represents the identity of any domain controller in the domain associated with the computer account.
- connectionless
- Boolean
true
if the connection is UDP or false
if the connection uses TCP/IP.
Exceptions
server
contains only white space.
Applies to
LdapDirectoryIdentifier(String[], Boolean, Boolean)
- Source:
- LdapDirectoryIdentifier.cs
- Source:
- LdapDirectoryIdentifier.cs
The LdapDirectoryIdentifier(String, Boolean, Boolean) constructor creates an instance of the LdapDirectoryIdentifier class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers.
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)
Parameters
- servers
- String[]
The server ID. A string specifying the server which can be a domain name, LDAP server name or dotted strings representing the IP address of the LDAP server. Optionally, this parameter may also include a port number, separated from the ID itself by a colon (:).
- fullyQualifiedDnsHostName
- Boolean
true
if each element in servers is a fully-qualified DNS host name. If false
, an element can be an IP address, a DNS domain or host name, or null. If null, it represents the identity of any domain controller in the domain associated with the computer account.
- connectionless
- Boolean
true
if the connection is UDP or false
if the connection uses TCP/IP.
Exceptions
server
has space.
Applies to
LdapDirectoryIdentifier(String, Int32, Boolean, Boolean)
- Source:
- LdapDirectoryIdentifier.cs
- Source:
- LdapDirectoryIdentifier.cs
The LdapDirectoryIdentifier(String, Int32, Boolean, Boolean) constructor creates an instance of the LdapDirectoryIdentifier class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers.
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)
Parameters
- server
- String
The server ID. A string specifying the server which can be a domain name, LDAP server name or dotted strings representing the IP address of the LDAP server. Optionally, this parameter may also include a port number, separated from the ID itself by a colon (:).
- portNumber
- Int32
The port number to be used when connecting to the server.
- fullyQualifiedDnsHostName
- Boolean
true
if each element in servers is a fully-qualified DNS host name. If false
, an element can be an IP address, a DNS domain or host name, or null. If null, it represents the identity of any domain controller in the domain associated with the computer account.
- connectionless
- Boolean
true
if the connection is UDP or false
if the connection uses TCP/IP.
Exceptions
server
has space.
Applies to
LdapDirectoryIdentifier(String[], Int32, Boolean, Boolean)
- Source:
- LdapDirectoryIdentifier.cs
- Source:
- LdapDirectoryIdentifier.cs
The LdapDirectoryIdentifier(String[], Int32, Boolean, Boolean) constructor creates an instance of the LdapDirectoryIdentifier class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers.
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)
Parameters
- servers
- String[]
The server ID. A string specifying the server which can be a domain name, LDAP server name or dotted strings representing the IP address of the LDAP server. Optionally, this parameter may also include a port number, separated from the ID itself by a colon (:).
- portNumber
- Int32
the port number to be used when connecting to a server.
- fullyQualifiedDnsHostName
- Boolean
true
if each element in servers is a fully-qualified DNS host name. If false
, an element can be an IP address, a DNS domain or host name, or null. If null, it represents the identity of any domain controller in the domain associated with the computer account.
- connectionless
- Boolean
true
if the connection is UDP or false
if the connection uses TCP/IP.
Exceptions
server
has space.