EventlogXmlProcessorGetEventLogXmlData Method
|
Alterian Email Manager 6.2.3 SDK Help File
Pulls the eventlog_xml records to process them
Namespace:
DMLibrary.Repository.EventlogAssembly:
DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
Syntaxpublic IEventlogCollection GetEventLogXmlData(
DMClient client,
int eventsInsideXmlToFetch,
int secondsToPullRecords
)
Public Function GetEventLogXmlData (
client As DMClient,
eventsInsideXmlToFetch As Integer,
secondsToPullRecords As Integer
) As IEventlogCollection
public:
virtual IEventlogCollection^ GetEventLogXmlData(
DMClient^ client,
int eventsInsideXmlToFetch,
int secondsToPullRecords
) sealed
abstract GetEventLogXmlData :
client : DMClient *
eventsInsideXmlToFetch : int *
secondsToPullRecords : int -> IEventlogCollection
override GetEventLogXmlData :
client : DMClient *
eventsInsideXmlToFetch : int *
secondsToPullRecords : int -> IEventlogCollection
function GetEventLogXmlData(client, eventsInsideXmlToFetch, secondsToPullRecords);
Parameters
- client
- Type: DMLibraryDMClient
The DMClient associated to the record to process - eventsInsideXmlToFetch
- Type: SystemInt32
The number of events inside each xml to process in bulk - secondsToPullRecords
- Type: SystemInt32
Number of seconds where we can be pulling records if the eventsInsideXmlToFetch is not met
Return Value
Type:
IEventlogCollectionAn
IEventlogCollection fetched from the server to be processed
Implements
IEventlogXmlProcessorGetEventLogXmlData(DMClient, Int32, Int32)
Remarks
The method will try to fetch the individual events based on the eventsInsideXmlToFetch parameter
and on the recordcount column that notifies how many individual events an xml record has.
This whole process will happen in SQL Server to improve the roundtrips to get data
For example:
eventsInsideXmlToFetch = 10,000
3 eventlog_xml records with values of 5000, 6000 and 1000.
Process first record of 5000. Hasn't reach the threshold, read next record
Process second record of 6000. Has reach the threshold, so exit until next iteration
In the next iteration, process the second record of 6000 . Hasn't reach the threshold, read next record
Process third record of 1000, no more records to process, so exit
See Also