SmbCreateDisposition

CreateDisposition values for SMB2 CREATE requests ([MS-SMB2] 2.2.13).

Entries

Link copied to clipboard

If the file already exists, supersede (replace) it; otherwise, create the file.

Link copied to clipboard

If the file already exists, open it; otherwise, fail the request.

Link copied to clipboard

If the file already exists, fail the request; otherwise, create the file.

Link copied to clipboard

If the file already exists, open it; otherwise, create the file.

Link copied to clipboard

If the file already exists, open and overwrite (truncate) it; otherwise, fail the request.

Link copied to clipboard

If the file already exists, open and overwrite (truncate) it; otherwise, create the file.

Companion properties

Link copied to clipboard
val entries: EnumEntries<SmbCreateDisposition>

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard
fun valueOf(value: String): SmbCreateDisposition

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val code: UInt
Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int