Class ActivityQuery

Class containing query information for retrieving activities using the IActivityQueryService.

Inheritance
System.Object
ActivityQuery
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction.Activities
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class ActivityQuery

Constructors

ActivityQuery()

Declaration
public ActivityQuery()

Properties

Action

If set, only activities with a matching action will be returned.

Declaration
public int? Action { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

ActivityType

If set, only activities with a matching activity type will be returned.

Declaration
public string ActivityType { get; set; }
Property Value
Type Description
System.String

ChangedBy

If set, only activities changed by specified user will be returned.

Declaration
public string ChangedBy { get; set; }
Property Value
Type Description
System.String

CreatedAfter

If set, only activities newer than given date will be returned.

Declaration
public DateTime? CreatedAfter { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

CreatedBefore

If set, only activities older than given date will be returned.

Declaration
public DateTime? CreatedBefore { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

FromActivity

Gets or set the id of the activity from which processing should start.

Declaration
public long? FromActivity { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

IncludeArchived

Gets or sets if activities moved to the archive should be returned.

Declaration
public bool IncludeArchived { get; set; }
Property Value
Type Description
System.Boolean

MaxResults

Gets or sets the max number of activities returned. Default value is 100.

Declaration
public int MaxResults { get; set; }
Property Value
Type Description
System.Int32

Order

Gets or sets the order in which the activities should be returned. Default is LatestFirst.

Declaration
public ActivityOrder Order { get; set; }
Property Value
Type Description
ActivityOrder

Extension Methods