Click or drag to resize

RemReportRepJobHistory Method

Paperwork .Net Kütüphanesi
.....

Namespace:  Paperwork.Connect
Assembly:  Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntax
C#
public rRepJobHistory RepJobHistory(
	bool onlyParams,
	string jobId,
	string status,
	DateTime beginDate,
	DateTime endDate,
	int beginRec,
	int endRec
)

Parameters

onlyParams
Type: SystemBoolean
true - false
jobId
Type: SystemString
status
Type: SystemString
beginDate
Type: SystemDateTime
Başlangıç Tarihi
endDate
Type: SystemDateTime
Bitiş Tarihi
beginRec
Type: SystemInt32
Başlangıç (Minimum=1)
endRec
Type: SystemInt32
Bitiş (Minimum=1)

Return Value

Type: rRepJobHistory
Examples
C#
public void RepDeletedDoc()
{
 p.rReport.RepDeletedDoc(false,beginDate.HasValue?beginDate.Value:default(DateTime),endDate.HasValue?endDate.Value:default(DateTime),loginName,storageId,docType,format,pageIndex,((s,e) =>
      {
    try
    {

        foreach (rRepDeletedDocItem row in e.Result.Items)
            Result.Add(new DeletedResult()
            {
                DelDate = row.DelDate == null ? (DateTime?)null : row.DelDate,
                Deleter = row.UserName,
                ObjectName = row.ObjectName,
                Storage = row.StorageId,
                DocType = row.TypeTitle,
                DocFormat = row.FormatId,
                ContentSize = row.ContentSize,
                ObjectId = row.ObjectId
            });

        this.PageCount = Result.Count == 0 ? 1 : (TotalRecCount / Result.Count);
        this.Size = DBUtil.dbStr(e.Result.TotalSize);
        this.TotalRecCount = DBUtil.dbInt(e.Result.TotalItems);

        dSet = e.Result;
    }
}
See Also