ReindexSourceResult Class
Assembly: CodeEffects.Rule.Repository.dll
Namespace: CodeEffects.Rule.Repository
Summary
Describes what Context.Reindex(..) did for one source object: the member catalogs of its versions, and the references of every version of every rule bound to it.
Syntax
public class ReindexSourceResult
You never create this class. ReindexResult.Sources holds one for each source object processed. The reindex of a source object is one transaction: when Success is false, nothing was written for it.
A use that a rule version makes and that resolves to nothing is not stored and does not make the reindex fail. It is listed in Unresolved.
Properties
AliasName
Type: System.String
Gets the alias of the source object, as supplied or as stored.
ControlNumber
Type: System.String
Gets the control number of the failure, or null. Quote it when you contact Code Effects support.
Error
Type: System.Exception
Gets the failure, or null. It is meant for your log. Do not send it to a browser.
MembersRemoved
Type: System.Int32
Gets the number of catalog rows removed: members that are no longer declared and that no rule references.
MembersWritten
Type: System.Int32
Gets the number of catalog rows added or relabelled.
Message
Type: System.String
Gets a short description of what happened.
ReferenceCount
Type: System.Int32
Gets the number of reference rows written.
RuleVersionCount
Type: System.Int32
Gets the number of rule versions whose references were rewritten.
SourceRecordId
Type: System.Nullable<System.Int32>
Gets the ID of the source object, or null when the alias names none or could not be looked up.
SourceVersionCount
Type: System.Int32
Gets the number of source versions whose catalog was checked.
Success
Type: System.Boolean
Gets a value indicating whether the source object was reindexed. When it is false, nothing was written for the source object.
Unresolved
Type: System.Collections.Generic.IList<System.String>
Gets every use that a rule version makes that did not resolve to a member of the source version it was written against, or to a rule that the repository holds, and every rule version whose XML could not be read. None of these is stored. Each entry starts with the ID of the rule version.