IPolicyEngine.HasClassificationRules 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.
Overloads
HasClassificationRules(String[]) |
Gets if the policy has automatic or recommendation rules. |
HasClassificationRules |
Gets if the policy has automatic or recommendation rules. |
HasClassificationRules(String[])
Gets if the policy has automatic or recommendation rules.
public bool HasClassificationRules (string[] contentFormats = default);
abstract member HasClassificationRules : string[] -> bool
Public Function HasClassificationRules (Optional contentFormats As String() = Nothing) As Boolean
Parameters
- contentFormats
- String[]
a string array representing the list of formats such as "file", "email" etc
Returns
True if the policy contains automatic or recommendation rules according to provided contentFormats, else false.
Applies to
HasClassificationRules
Gets if the policy has automatic or recommendation rules.
public bool HasClassificationRules { get; }
member this.HasClassificationRules : bool
Public ReadOnly Property HasClassificationRules As Boolean
Returns
True if the policy contains automatic or recommendation rules, else false.