November Happy Hour will be moved to Thursday December 5th.

Class ActivityQuery

This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

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: 9.12.2
Syntax
public class ActivityQuery

Constructors

ActivityQuery()

Creates a new instance of 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>

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