Show / Hide Table of Contents

Class Area

Carrier object for Area. Services for the Area Carrier is available from the IReplicationAgent.

Inheritance
object
Area
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class Area : Carrier
Examples

Get Area 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ReplicationAgent();
    var area = agent.GetArea( 123 );
 }

Constructors

Area()

Default constructor

Declaration
public Area()
Examples

Get Area 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ReplicationAgent();
    var area = agent.GetArea( 123 );
 }
See Also
ReplicationAgent
IReplicationAgent

Properties

AreaId

Primary key

Declaration
public virtual int AreaId { get; set; }
Property Value
Type Description
Int32
Examples

Get Area 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ReplicationAgent();
    var area = agent.GetArea( 123 );
 }
See Also
ReplicationAgent
IReplicationAgent

FreetextEnabeled

Carrier object for Area. Services for the Area Carrier is available from the IReplicationAgent.

Declaration
public virtual bool FreetextEnabeled { get; set; }
Property Value
Type Description
Boolean
Examples

Get Area 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ReplicationAgent();
    var area = agent.GetArea( 123 );
 }
See Also
ReplicationAgent
IReplicationAgent

MaxDataAge

Max age of data when generating db's based on this area

Declaration
public virtual short MaxDataAge { get; set; }
Property Value
Type Description
Int16
Examples

Get Area 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ReplicationAgent();
    var area = agent.GetArea( 123 );
 }
See Also
ReplicationAgent
IReplicationAgent

Name

Area name

Declaration
public virtual string Name { get; set; }
Property Value
Type Description
String
Examples

Get Area 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ReplicationAgent();
    var area = agent.GetArea( 123 );
 }
See Also
ReplicationAgent
IReplicationAgent

NumberOfLogins

Carrier object for Area. Services for the Area Carrier is available from the IReplicationAgent.

Declaration
public virtual int NumberOfLogins { get; set; }
Property Value
Type Description
Int32
Examples

Get Area 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ReplicationAgent();
    var area = agent.GetArea( 123 );
 }
See Also
ReplicationAgent
IReplicationAgent

NumberOfUsers

Carrier object for Area. Services for the Area Carrier is available from the IReplicationAgent.

Declaration
public virtual int NumberOfUsers { get; set; }
Property Value
Type Description
Int32
Examples

Get Area 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ReplicationAgent();
    var area = agent.GetArea( 123 );
 }
See Also
ReplicationAgent
IReplicationAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
String

The carrier contents.

Examples

Get Area 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ReplicationAgent();
    var area = agent.GetArea( 123 );
 }
See Also
ReplicationAgent
IReplicationAgent

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.

Examples

Get Area 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ReplicationAgent();
    var area = agent.GetArea( 123 );
 }
See Also
ReplicationAgent
IReplicationAgent

See Also

ReplicationAgent
IReplicationAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top