Class EndpointCollectionService
- Namespace
- Dynamicweb.DataIntegration.EndpointManagement
- Assembly
- Dynamicweb.DataIntegration.dll
Service for endpoint collections.
public class EndpointCollectionService
- Inheritance
-
EndpointCollectionService
- Inherited Members
Constructors
EndpointCollectionService()
Initializes a new instance of the EndpointCollectionService class.
public EndpointCollectionService()
Methods
DeleteEndpointCollection(int)
Deletes the Endpoint Collection.
public void DeleteEndpointCollection(int id)
Parameters
id
intThe identifier.
GetEndpointCollectionById(int)
Gets an Endpoint Collection by id.
public EndpointCollection GetEndpointCollectionById(int id)
Parameters
id
intThe identifier.
Returns
- EndpointCollection
An instance of Endpoint, if found, otherwise null.
GetEndpointCollections()
Gets the endpoint Collections.
public IEnumerable<EndpointCollection> GetEndpointCollections()
Returns
- IEnumerable<EndpointCollection>
A collection of endpoint Collections.
GetEndpoints(int)
public IEnumerable<Endpoint> GetEndpoints(int collectionId)
Parameters
collectionId
int
Returns
SaveEndpointCollection(EndpointCollection)
Saves the Endpoint Collection.
public void SaveEndpointCollection(EndpointCollection endpointCollection)
Parameters
endpointCollection
EndpointCollectionThe Endpoint Collection.