IFileHandler.DeleteLabel(LabelingOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes the sensitivity label from the file.
public void DeleteLabel (Microsoft.InformationProtection.File.LabelingOptions labelingOptions);
abstract member DeleteLabel : Microsoft.InformationProtection.File.LabelingOptions -> unit
Public Sub DeleteLabel (labelingOptions As LabelingOptions)
Parameters
- labelingOptions
- LabelingOptions
Remarks
Changes will not be written to the file until CommitAsync will be called.
Will throw a JustificationRequiredError when setting the label requires the operation to be justified (via the labelingOptions parameter).