ActiveDirectorySchemaPropertyCollection.AddRange 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 a range of items to this collection.
Overloads
AddRange(ActiveDirectorySchemaProperty[]) |
Appends the contents of the specified ActiveDirectorySchemaProperty array to this collection. |
AddRange(ActiveDirectorySchemaPropertyCollection) |
Appends the contents of the specified ActiveDirectorySchemaPropertyCollection object to this collection. |
AddRange(ReadOnlyActiveDirectorySchemaPropertyCollection) |
Appends the contents of the specified ReadOnlyActiveDirectorySchemaPropertyCollection object to this collection. |
AddRange(ActiveDirectorySchemaProperty[])
Appends the contents of the specified ActiveDirectorySchemaProperty array to this collection.
public:
void AddRange(cli::array <System::DirectoryServices::ActiveDirectory::ActiveDirectorySchemaProperty ^> ^ properties);
public void AddRange (System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaProperty[] properties);
member this.AddRange : System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaProperty[] -> unit
Public Sub AddRange (properties As ActiveDirectorySchemaProperty())
Parameters
- properties
- ActiveDirectorySchemaProperty[]
The ActiveDirectorySchemaProperty 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 this collection.
properties
is null
.
The ActiveDirectorySchemaProperty object has not yet been saved in the Active Directory Domain Services store.
See also
Applies to
AddRange(ActiveDirectorySchemaPropertyCollection)
Appends the contents of the specified ActiveDirectorySchemaPropertyCollection object to this collection.
public:
void AddRange(System::DirectoryServices::ActiveDirectory::ActiveDirectorySchemaPropertyCollection ^ properties);
public void AddRange (System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaPropertyCollection properties);
member this.AddRange : System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaPropertyCollection -> unit
Public Sub AddRange (properties As ActiveDirectorySchemaPropertyCollection)
Parameters
- properties
- ActiveDirectorySchemaPropertyCollection
The ActiveDirectorySchemaPropertyCollection object 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 this collection.
properties
is null
.
The ActiveDirectorySchemaProperty object has not yet been saved in the Active Directory Domain Services store.
See also
Applies to
AddRange(ReadOnlyActiveDirectorySchemaPropertyCollection)
Appends the contents of the specified ReadOnlyActiveDirectorySchemaPropertyCollection object to this collection.
public:
void AddRange(System::DirectoryServices::ActiveDirectory::ReadOnlyActiveDirectorySchemaPropertyCollection ^ properties);
public void AddRange (System.DirectoryServices.ActiveDirectory.ReadOnlyActiveDirectorySchemaPropertyCollection properties);
member this.AddRange : System.DirectoryServices.ActiveDirectory.ReadOnlyActiveDirectorySchemaPropertyCollection -> unit
Public Sub AddRange (properties As ReadOnlyActiveDirectorySchemaPropertyCollection)
Parameters
The ReadOnlyActiveDirectorySchemaPropertyCollection object 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 this collection.
properties
is null
.
The ActiveDirectorySchemaProperty object has not yet been saved in the Active Directory Domain Services store.