IPolicyEngine.ListSensitivityLabels(String[]) Method

Definition

List the sensitivity labels associated with the policy engine.

public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.InformationProtection.Label> ListSensitivityLabels (string[] contentFormats = default);
abstract member ListSensitivityLabels : string[] -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.InformationProtection.Label>
Public Function ListSensitivityLabels (Optional contentFormats As String() = Nothing) As ReadOnlyCollection(Of Label)

Parameters

contentFormats
String[]

a string array representing the list of formats such as "file", "email" etc

Returns

A list of sensitivity labels according to the provided contentFormats.

Applies to