Program class

Version InfoThis 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 

  • NamespaceDemoConnector.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.

  • NamespaceDemoConnector.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.

  • NamespaceDemoConnector.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.

  • NamespaceDemoConnector.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.

  • NamespaceDemoConnector.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.

  • NamespaceDemoConnector.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.

  • NamespaceDemoConnector.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