ImportManager.BatchSize Property
Gets or sets the batch size of each commit operation.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Public Property BatchSize As Integer
Get
Set
'Usage
Dim instance As ImportManager
Dim value As Integer
value = instance.BatchSize
instance.BatchSize = value
public int BatchSize { get; set; }
Property Value
Type: System.Int32
An integer indicating the batch size of each commit operation
Remarks
When the ImportTermSet(Group, TextReader, Boolean, String) method executes, it imports multiple Term objects into a TermSet object. The BatchSize value determines how often to commit (save) these items. For example, if the BatchSize value is 1000 then the changes will be committed after each1000 terms are imported.
The default value of this property is 1000. This property should be set prior to calling the ImportTermSet(Group, TextReader, Boolean, String) method.