IProgramService interface
Version Info: This topic applies to Episerver.ConnectForMarketingAutomation 4.0.0 and lower. For later versions, see Sample Connector - IMarketingConnector.
Interface for working with a provider program.
- Namespace. EPiServer.MarketingAutomationIntegration.Services
- Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
- C# syntax.
public interface IProgramService
Methods
IProgramService.CreateProgram method ![](/globalassets/public-method-icon.png)
Create a new program.
- Namespace. EPiServer.MarketingAutomationIntegration.Services
- Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
- C# syntax.
void CreateProgram( IProgram newProgram )
- Parameters.
- newProgram. Type: IProgram
The new program.
- newProgram. Type: IProgram
IProgramService.GetAllPrograms method
Get provider's programs.
- Namespace. EPiServer.MarketingAutomationIntegration.Services
- Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
- C# syntax.
IEnumerable<IProgram> GetAllPrograms()
- Return value. Type: IEnumerable< IProgram>
List of IProgram object.
IProgramService.GetProgramsByProfileAndStatus method
Get list of programs to which the input profile belongs and also have a status that matches a condition.
- Namespace. EPiServer.MarketingAutomationIntegration.Services
- Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
- C# syntax.
IEnumerable<IInProgram> GetProgramsByProfileAndStatus( Profile profile, ProgramStatus status )
- Parameters.
- profile. Type: Profile
The profile. - status. Type: EPiServer.MarketingAutomationIntegration.Core.Enums.ProgramStatus
The program status.
- profile. Type: Profile
- Return value. Type: IEnumerable< InProgram>
List of IProgram object.
IProgramService.GetProgramsByStatus method
Get a list of programs that have a status that matches a condition.
- Namespace. EPiServer.MarketingAutomationIntegration.Services
- Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
- C# syntax.
IEnumerable<IProgram> GetProgramsByStatus( ProgramStatus status )
- Parameters.
- status. Type: EPiServer.MarketingAutomationIntegration.Core.Enums.ProgramStatus
The status.
- status. Type: EPiServer.MarketingAutomationIntegration.Core.Enums.ProgramStatus
- Return value. Type: IEnumerable< IProgram>
List of IProgram object.
Last updated: Dec 10, 2015