LumiSoft Mail Server User API
DomainCollection Class
Namespaces > LumiSoft.MailServer.API.UserAPI > DomainCollection
The DomainCollection object represents domains in LumiSoft Mail Server virtual server.
Syntax
C#Visual BasicManaged C++
public class DomainCollection : IEnumerable
Public Class DomainCollection _
	Implements IEnumerable
public ref class DomainCollection : IEnumerable
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
DomainCollectionNew(VirtualServer)
Default constructor.
Add(String, String)
Creates and adds new domain to domain collection.
Contains(String)
Check if collection contains domain with specified name.
Count
Gets number of domains in virtual server.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()
Gets enumerator.
GetHashCode()
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
Item(Int32)
Gets a Domain object in the collection by index number.
Item(String)
Gets a Domain object in the collection by domain ID.
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Refresh()
Refreshes domains.
Remove(Domain)
Deletes and removes specified domain from domain collection.
ToString()
Returns a String that represents the current Object.
(Inherited from Object.)
VirtualServer
Gets the VirtualServer object that is the owner of this collection.
Inheritance Hierarchy
Object
DomainCollection

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)