Class ConsentSource
Carrier object for ConsentSource. Services for the ConsentSource Carrier is available from the List Agent.
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class ConsentSource : Carrier
Examples
Get ConsentSource 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var consentSource = agent.GetConsentSource( 123 );
}
Constructors
ConsentSource()
Default constructor
Declaration
public ConsentSource()
See Also
Properties
ConsentSourceId
Primary key
Declaration
[DataMember]
public virtual int ConsentSourceId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Deleted
true if the ConsentSource is deleted
Declaration
[DataMember]
public virtual bool Deleted { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
Key
The key used to uniquely identify this consent source
Declaration
[DataMember]
public virtual string Key { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
MailTemplateId
The mail template to use when automatically sending emails to new persons created with this consent source.
Declaration
[DataMember]
public virtual int MailTemplateId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Name
Name of consent source
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Rank
Rank of this consent source
Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
Type | Description |
---|---|
short |
See Also
Tooltip
Tooltip for this consent source
Declaration
[DataMember]
public virtual string Tooltip { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The carrier contents. |
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
string | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
string | The carrier contents. |