IPolicyEngine.GetDefaultSensitivityLabel(String) Method

Definition

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, nullif there is no default label set.

Applies to