IPolicyHandler.GetSensitivityLabel(ExecutionState) Method

Definition

Get the sensitivity label from existing content.

public Microsoft.InformationProtection.ContentLabel GetSensitivityLabel (Microsoft.InformationProtection.Policy.ExecutionState state);
abstract member GetSensitivityLabel : Microsoft.InformationProtection.Policy.ExecutionState -> Microsoft.InformationProtection.ContentLabel
Public Function GetSensitivityLabel (state As ExecutionState) As ContentLabel

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