SensitivityLabelCollection
SensitivityLabelCollection class
Represents the list of sensitivity labels.
class SensitivityLabelCollection;
Constructors
| Name | Description |
|---|---|
| constructor() | Default Constructor. |
Methods
| Method | Description |
|---|---|
| add(string, boolean, SensitivityLabelAssignmentType, string, SensitivityLabelMarkType) | Adds a sensitivity label. |
constructor()
Default Constructor.
constructor();
add(string, boolean, SensitivityLabelAssignmentType, string, SensitivityLabelMarkType)
Adds a sensitivity label.
add(id: string, isEnabled: boolean, methodType: SensitivityLabelAssignmentType, siteId: string, markType: SensitivityLabelMarkType) : number;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| id | string | The id of the label. |
| isEnabled | boolean | Indicates whether this sensitivity label is enabled. |
| methodType | SensitivityLabelAssignmentType | The assignment method type. |
| siteId | string | The id of the site. |
| markType | SensitivityLabelMarkType | The mark type. |