HardTotals.Create(String, Int32, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a totals file.
public abstract int Create (string fileName, int size, bool errorDetection);
abstract member Create : string * int * bool -> int
Public MustOverride Function Create (fileName As String, size As Integer, errorDetection As Boolean) As Integer
Parameters
- fileName
- String
The name to be assigned to the file.Must not exceed 10 characters. All displayable characters - characters ≥ 20-hex – are valid.
- size
- Int32
The length of the file in bytes. When it is created, the file size cannot be changed: totals files are fixed-length files.
- errorDetection
- Boolean
The level of error detection desired for this file:If true, the service object enables advanced error detection if supported.If false, better performance access is required so that advanced error detection do not have to be enabled for this file.