Class ExportSelectionToFileBatchPlugin
Implements
Inherited Members
Namespace: SuperOffice.CRM.BatchProcessing.Plugins
Assembly: SoBatchProcessing.dll
Syntax
[BatchTask("ExportSelectionToFileBatchPlugin", ManualCleanup = true)]
public class ExportSelectionToFileBatchPlugin : BatchTaskBase, IBatchTask
Constructors
ExportSelectionToFileBatchPlugin()
Declaration
public ExportSelectionToFileBatchPlugin()
Fields
PluginName
Declaration
public const string PluginName = "ExportSelectionToFileBatchPlugin"
Field Value
Type | Description |
---|---|
string |
Methods
ExportSelectionMembersEnumerator(int, string, string, int, bool, string)
Iterate through the selection members and yield every line back to the caller.
Declaration
public IEnumerable<string> ExportSelectionMembersEnumerator(int selectionId, string templateName, string cultureName, int targetTableNumber, bool useContacts, string orderBy = null)
Parameters
Type | Name | Description |
---|---|---|
int | selectionId | |
string | templateName | |
string | cultureName | Not in use |
int | targetTableNumber | |
bool | useContacts | |
string | orderBy |
Returns
Type | Description |
---|---|
IEnumerable<string> |
Run(string, string)
Run the task.
Declaration
protected override bool Run(string name, string context)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the task. |
string | context | Context for the task. |
Returns
Type | Description |
---|---|
bool | True if the task succeeded. |
Overrides
Remarks
Call SetResult(string) as needed.