Class ProjectEvent
A project that is also an event. Used by Audience
Carrier object for ProjectEvent. Services for the ProjectEvent Carrier is available from the Project 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 ProjectEvent : Carrier
Examples
Get ProjectEvent 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEvent = agent.GetProjectEvent( 123 );
}
Constructors
ProjectEvent()
Default constructor
Declaration
public ProjectEvent()
See Also
Properties
AssociateFullName
Name of the person that ows the event (i.e. project)
Declaration
[DataMember]
public virtual string AssociateFullName { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
AssociateId
Id of the person that ows the event (i.e. project)
Declaration
[DataMember]
public virtual int AssociateId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Description
The event description (i.e. the project text)
Declaration
[DataMember]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Enabled
If true the event is enabled (visible)
Declaration
[DataMember]
public virtual bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
EventDate
Date of the event. Event is not visible after this date.
Declaration
[DataMember]
public virtual DateTime EventDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
EventName
The name of the event (i.e. the project name)
Declaration
[DataMember]
public virtual string EventName { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
IsSignedOn
True if the current user is signed on to the event (i.e. is project member)
Declaration
[DataMember]
public virtual bool IsSignedOn { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
ProjectId
Id of the project that represents the event
Declaration
[DataMember]
public virtual int ProjectId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
SignOff
If true, it is possible to sign off the event.
Declaration
[DataMember]
public virtual bool SignOff { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
SignOffConfirmationText
Text shown as confirmation text before accepting sign off.
Declaration
[DataMember]
public virtual string SignOffConfirmationText { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
SignOffPersonId
If 0, the signOn Activity should go into the persons Our Contact; if not 0, this is the Person whose diary should get the activity
Declaration
[DataMember]
public virtual int SignOffPersonId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
SignOffTaskEnable
If true, a task should be created when the external user signs off an event
Declaration
[DataMember]
public virtual bool SignOffTaskEnable { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
SignOffTaskId
If not 0, sign off should cause an Activity of this type to be registered
Declaration
[DataMember]
public virtual int SignOffTaskId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
SignOffText
Default text for the activity created when signing off.
Declaration
[DataMember]
public virtual string SignOffText { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
SignOffTriggersAssign
If true, the sign off task should be created as an Assigned task, triggering the invitation dialog
Declaration
[DataMember]
public virtual bool SignOffTriggersAssign { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
SignOn
If true, it is possible to sign on the event.
Declaration
[DataMember]
public virtual bool SignOn { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
SignOnConfirmationText
Text shown as confirmation text before accepting sign on.
Declaration
[DataMember]
public virtual string SignOnConfirmationText { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
SignOnPersonId
If 0, the signOn Activity should go into the persons Our Contact; if not 0, this is the Person whose diary should get the activity
Declaration
[DataMember]
public virtual int SignOnPersonId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
SignOnTaskEnable
If true, a task should be created when the external user signs on an event
Declaration
[DataMember]
public virtual bool SignOnTaskEnable { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
SignOnTaskId
If not 0, sign on should cause an Activity of this type to be registered
Declaration
[DataMember]
public virtual int SignOnTaskId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
SignOnText
Default text for the activity created when signing on.
Declaration
[DataMember]
public virtual string SignOnText { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
SignOnTriggersAssign
If true, the sign on task should be created as an Assigned task, triggering the invitation dialog
Declaration
[DataMember]
public virtual bool SignOnTriggersAssign { get; set; }
Property Value
Type | Description |
---|---|
bool |
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. |