GetOperationsProgressForUser Method (TimeSpan)
Retrieve the operations for the current user started more recently than the specified date.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
'Declaration
Public Function GetOperationsProgressForUser ( _
startedAfter As TimeSpan _
) As OperationsProgress()
'Usage
Dim instance As CatalogContext
Dim startedAfter As TimeSpan
Dim returnValue As OperationsProgress()
returnValue = instance.GetOperationsProgressForUser(startedAfter)
public OperationsProgress[] GetOperationsProgressForUser(
TimeSpan startedAfter
)
public:
array<OperationsProgress^>^ GetOperationsProgressForUser(
TimeSpan startedAfter
)
public function GetOperationsProgressForUser(
startedAfter : TimeSpan
) : OperationsProgress[]
- startedAfter
Type: System..::.TimeSpan
A TimeSpan that represents a specified number of days.
Type: array<Microsoft.CommerceServer.Catalog..::.OperationsProgress>[]()[]
An OperationsProgress array containing all the operation started by the current user since startedAfter.
Exception | Condition |
---|---|
ArgumentNullException | startedAfter is an invalid start time. |
To obtain an array of the items for the past 24 hours, use the method GetOperationsProgressForUser() or use the startedAfter value of TimeSpan.FromDays(1).
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.