Show / Hide Table of Contents

Class ForeignDevice

Saves a foreign device belonging to the ForeignDevice and application name specified.

Carrier object for ForeignDevice. Services for the ForeignDevice Carrier is available from the ForeignSystem Agent.
Inheritance
object
ForeignDevice
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class ForeignDevice : Carrier
Examples

Get ForeignDevice 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new ForeignSystemAgent();
   var foreignDevice = agent.GetForeignDevice( 123 );
}

Constructors

ForeignDevice()

Default constructor

Declaration
public ForeignDevice()
See Also
IForeignSystemAgent

Properties

AssociateFullName

The person owning the Foreign Device

Declaration
[DataMember]
public virtual string AssociateFullName { get; set; }
Property Value
Type Description
string
See Also
IForeignSystemAgent

CreatedBy

The person that created the device.

Declaration
[DataMember]
public virtual string CreatedBy { get; set; }
Property Value
Type Description
string
See Also
IForeignSystemAgent

CreatedDate

Registered when in UTC.

Declaration
[DataMember]
public virtual DateTime CreatedDate { get; set; }
Property Value
Type Description
DateTime
See Also
IForeignSystemAgent

DeviceIdentifier

Optional unique id of device (Palm pilot device ID, etc)

Declaration
[DataMember]
public virtual string DeviceIdentifier { get; set; }
Property Value
Type Description
string
See Also
IForeignSystemAgent

ForeignAppId

Reference to foregin application (device type)

Declaration
[DataMember]
public virtual int ForeignAppId { get; set; }
Property Value
Type Description
int
See Also
IForeignSystemAgent

ForeignDeviceId

Primary key

Declaration
[DataMember]
public virtual int ForeignDeviceId { get; set; }
Property Value
Type Description
int
See Also
IForeignSystemAgent

Name

Name of device

Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type Description
string
See Also
IForeignSystemAgent

UpdatedBy

The person that last updated this device.

Declaration
[DataMember]
public virtual string UpdatedBy { get; set; }
Property Value
Type Description
string
See Also
IForeignSystemAgent

UpdatedDate

Last updated when in UTC.

Declaration
[DataMember]
public virtual DateTime UpdatedDate { get; set; }
Property Value
Type Description
DateTime
See Also
IForeignSystemAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IForeignSystemAgent

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.

See Also
IForeignSystemAgent

See Also

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