SearchModelFactory.SharePointSensitivityLabelInfo 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.
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.
- color
- String
The color that the UI should display for the label, if configured.
Returns
A new SharePointSensitivityLabelInfo instance for mocking.