add method

add

Adds a SensitivityLabel to the collection.

Returns

The index at which the SensitivityLabel was added.

def add(self, label):
    ...
ParameterTypeDescription
labelISensitivityLabelThe SensitivityLabel object to be added at the end of the collection.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentException))Thrown when the sensitivity label with the same Id has already been added.

add

def add(self, id, site_id, is_enabled, method_type):
    ...
ParameterTypeDescription
idstr
site_idGuid
is_enabledbool
method_typeSensitivityLabelAssignmentType

See Also