setDatasetProperties

Undocumented in source. Be warned that the author may not have intended to support it.
@SILdoc(`Set properties of the ZFS dataset. Params: string name: the name of the dataset. string[string]: properties Errors: NameInvalid: if the dataset name is invalid. NameTooLong: if the dataset name is too long. DatasetNotFound: if the dataset does not exist. NoSpace: if the property controls a quota and the values is too small for that quota. PropertyInvalid: if one or more of the specified properties is invalid or has an invalid type or value. This function can be used on snapshots to set user defined properties. note: An attempt to set a readonly / statistic property is ignored without reporting any error. `)
void
setDatasetProperties
(
string name
,
string[string] properties
,
bool useSudo = true
)

Meta