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.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
Properties
AssociateFullName
The person owning the Foreign Device
Declaration
[DataMember]
public virtual string AssociateFullName { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
CreatedBy
The person that created the device.
Declaration
[DataMember]
public virtual string CreatedBy { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
CreatedDate
Registered when in UTC.
Declaration
[DataMember]
public virtual DateTime CreatedDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
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
ForeignAppId
Reference to foregin application (device type)
Declaration
[DataMember]
public virtual int ForeignAppId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
ForeignDeviceId
Primary key
Declaration
[DataMember]
public virtual int ForeignDeviceId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Name
Name of device
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
UpdatedBy
The person that last updated this device.
Declaration
[DataMember]
public virtual string UpdatedBy { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
UpdatedDate
Last updated when in UTC.
Declaration
[DataMember]
public virtual DateTime UpdatedDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
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. |