inheritProperties

Undocumented in source. Be warned that the author may not have intended to support it.
@SILdoc(`Inherit properties from a parent dataset of the given ZFS dataset. Params: string name: the name of the dataset. string prop: the name of the property to inherit. Errors: NameInvalid: if the dataset name is invalid. NameTooLong: if the dataset name is too long. DatasetNotFound: if the dataset does not exist. PropertyInvalid: if one or more of the specified properties is invalid or has an invalid type or value. Inheriting a property actually resets it to its default value or removes it if its a user property, so that the property could be inherited if its inheritable. If the property is not inheritable then it would just have its default value. This function can be used on snapshots to inherit user defined properties. `)
void
inheritProperties
(
string name
,
string property
,
bool recursive = false
,
bool useSudo = true
)

Meta