DirectoryServerCollection.AddRange(DirectoryServer[]) Method
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.
Appends the contents of the specified DirectoryServer array to this collection.
public:
void AddRange(cli::array <System::DirectoryServices::ActiveDirectory::DirectoryServer ^> ^ servers);
public void AddRange (System.DirectoryServices.ActiveDirectory.DirectoryServer[] servers);
member this.AddRange : System.DirectoryServices.ActiveDirectory.DirectoryServer[] -> unit
Public Sub AddRange (servers As DirectoryServer())
Parameters
- servers
- DirectoryServer[]
The DirectoryServer array that contains the objects to append to this collection.
Exceptions
A call to the underlying directory service resulted in an error.
The object already exists in the collection.
servers
is null
.
The DirectoryServer object has not yet been saved in the Active Directory Domain Services store.
Applies to
See also
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de