Freigeben über


SearchModelFactory.SharePointSensitivityLabelInfo Method

Definition

Initializes a new instance of SharePointSensitivityLabelInfo.

public static Azure.Search.Documents.KnowledgeBases.Models.SharePointSensitivityLabelInfo SharePointSensitivityLabelInfo(string displayName = default, string sensitivityLabelId = default, string tooltip = default, int? priority = default, string color = default, bool? isEncrypted = default);
static member SharePointSensitivityLabelInfo : string * string * string * Nullable<int> * string * Nullable<bool> -> Azure.Search.Documents.KnowledgeBases.Models.SharePointSensitivityLabelInfo
Public Shared Function SharePointSensitivityLabelInfo (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 SharePointSensitivityLabelInfo

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.

priority
Nullable<Int32>

The priority in which the sensitivity label is applied.

color
String

The color that the UI should display for the label, if configured.

isEncrypted
Nullable<Boolean>

Indicates whether the sensitivity label enforces encryption.

Returns

A new SharePointSensitivityLabelInfo instance for mocking.

Applies to