SearchModelFactory.PurviewSensitivityLabelInfo 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.
Information about the sensitivity label applied to a document.
public static Azure.Search.Documents.KnowledgeBases.Models.PurviewSensitivityLabelInfo PurviewSensitivityLabelInfo(string displayName = default, string sensitivityLabelId = default, string toolTip = default, int? priority = default, string color = default, bool? isEncrypted = default);
static member PurviewSensitivityLabelInfo : string * string * string * Nullable<int> * string * Nullable<bool> -> Azure.Search.Documents.KnowledgeBases.Models.PurviewSensitivityLabelInfo
Public Shared Function PurviewSensitivityLabelInfo (Optional displayName As String = Nothing, Optional sensitivityLabelId As String = Nothing, Optional toolTip As String = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional color As String = Nothing, Optional isEncrypted As Nullable(Of Boolean) = Nothing) As PurviewSensitivityLabelInfo
Parameters
- displayName
- String
The display name for the sensitivity label.
- sensitivityLabelId
- String
The ID of the sensitivity label.
- toolTip
- String
The tooltip that should be displayed for the label in a UI.
- color
- String
The color that the UI should display for the label, if configured.
Returns
A new PurviewSensitivityLabelInfo instance for mocking.