IPolicyEngine.GetDefaultSensitivityLabel(String) 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.
Gets the default sensitivity label.
public Microsoft.InformationProtection.Label GetDefaultSensitivityLabel (string contentFormat = "");
abstract member GetDefaultSensitivityLabel : string -> Microsoft.InformationProtection.Label
Public Function GetDefaultSensitivityLabel (Optional contentFormat As String = "") As Label
Parameters
- contentFormat
- String
a string representing the format such as "file", "email" etc
Returns
Default sensitivy label if exists according to the provided contentFormat, null
if there is no default label set.