共用方式為


HardTotals.Create(String, Int32, Boolean) Method

Definition

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.

Returns

Applies to