IPolicyHandler.GetSensitivityLabel(ExecutionState) Method

Definition

Get the sensitivity label from existing content.

C#
public Microsoft.InformationProtection.ContentLabel GetSensitivityLabel (Microsoft.InformationProtection.Policy.ExecutionState state);

Parameters

state
ExecutionState

Provides required information to retrieve the label.

Returns

A content label object that contains the sensitivity label as well as additional information, or return empty if non exists.

Applies to

Toode Versioonid
Microsoft.InformationProtection 1.6.152, 1.7.133, 1.8.94, 1.9.78, 1.10.93, 1.11.53, 1.12.61, 1.13.161, 1.14.108, 1.15.107, 1.16.126