Program class
Version Info: This topic applies to Episerver.ConnectForMarketingAutomation 4.0.0 and lower. For later versions, see Sample Connector - IMarketingConnector.
The Program class represents a domain-specific Program instance.
- Inheritance hierarchy.
System.Object
DemoConnector.Models.Program - Namespace. DemoConnector.Models
- Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
- C# syntax.
public class Program
Constructor
Initializes a new instance of the Program class.
- Namespace. DemoConnector.Models
- Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
- C# syntax.
public Program()
Properties
Program.Id property
The internal ID of the Program. MAI will use this ID when calling into various service methods.
- Namespace. DemoConnector.Models
- Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
- Property value. Type: Int32
- C# syntax.
public int Id { get; set; }
Program.ListId property
The list ID with which this program instance is associated.
- Namespace. DemoConnector.Models
- Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
- Property value. Type: Int32
- C# syntax.
public int ListId { get; set; }
Program.Name property
The name of the program.
- Namespace. DemoConnector.Models
- Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
- Property value. Type: String
- C# syntax.
public string Name { get; set; }
Program.Notes property
Notes about the program.
- Namespace. DemoConnector.Models
- Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
- Property value. Type: String
- C# syntax.
public string Notes { get; set; }
Program.State property
The state of the current program.
- Namespace. DemoConnector.Models
- Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
- Property value. Type: ProgramState
- C# syntax.
public ProgramState State { get; set; }
Last updated: Dec 09, 2015