Skip to main content
Carrier for criteria information. It contains all the search criteria - that is, ArchiveRestrictionInfo - objects, including a column specification. In addition, it contains the same criteria expressed as an archive, with an array of ArchiveColumnInfo specifications and a set of ArchiveRow rows. The rows of the archive form a subset of the restriction array.

Constructors

NSCriteriaInformation()

Initializes a new instance of the NSCriteriaInformation class.

Methods

GetCriteriaArchiveColumns()

Returns: CRMScript.NetServer.NSArchiveColumnInfo[] - Array of ColumnInfo column specifications. Example:

GetCriteriaArchiveRows()

Returns: CRMScript.NetServer.NSArchiveListItem[] - Array of archive list items (the service layer carrier for archive rows).
These are the criteria, represented as archive rows.
Example:

GetRestrictionGroups()

Returns: CRMScript.NetServer.NSArchiveRestrictionGroup[] - Array of restriction groups, including the default first group of restrictions. Example:

GetRestrictions()

Returns: CRMScript.NetServer.NSArchiveRestrictionInfo[] - Array of NSArchiveRestrictionInfo restriction specifications (for the first group if there are more than one). Example:

SetCriteriaArchiveColumns(NSArchiveColumnInfo[])

Returns: CRMScript.Global.Void Example:

SetCriteriaArchiveRows(NSArchiveListItem[])

Returns: CRMScript.Global.Void
These are the criteria, represented as archive rows.
Example:

SetRestrictionGroups(NSArchiveRestrictionGroup[])

Returns: CRMScript.Global.Void Example:

SetRestrictions(NSArchiveRestrictionInfo[])

Returns: CRMScript.Global.Void Example: