Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
AI OnAI Off
Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
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.
public interface IProgramService
Create a new program.
void CreateProgram(
IProgram newProgram
)
Get provider's programs.
IEnumerable<IProgram> GetAllPrograms()
Get list of programs to which the input profile belongs and also have a status that matches a condition.
IEnumerable<IInProgram> GetProgramsByProfileAndStatus(
Profile profile,
ProgramStatus status
)
Get a list of programs that have a status that matches a condition.
IEnumerable<IProgram> GetProgramsByStatus(
ProgramStatus status
)
Last updated: Dec 10, 2015