TransactionalFileStructureCreateFile Method

Creates a new archive editable file using the provided file.

Definition

Namespace: SnapDB.IO.FileStructure
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static TransactionalFileStructure CreateFile(
	string fileName,
	int blockSize,
	params Guid[] flags
)

Parameters

fileName  String
The name of the new file.
blockSize  Int32
The size of the data block.
flags  Guid
The flags associated with the specified new file.

Return Value

TransactionalFileStructure
The new archive editable file.

Exceptions

ArgumentNullExceptionThrown if the file name is null.
ExceptionThrown if the name of the new file already exists.

See Also