ProtectByTemplateAction Class

Definition

An action class which specifies adding protection by template to the document.

public class ProtectByTemplateAction : Microsoft.InformationProtection.Policy.Actions.Action
type ProtectByTemplateAction = class
    inherit Action
Public Class ProtectByTemplateAction
Inherits Action
Inheritance
ProtectByTemplateAction

Constructors

ProtectByTemplateAction(String, String, String)

Creates a new ProtectByTemplateAction. This constructor is only public to allow using this class in code testing

ProtectByTemplateAction(String, String)

Creates a new ProtectByTemplateAction. This constructor is only public to allow using this class in code testing

Properties

ActionType

The type of derived action this base class can be cast to

(Inherited from Action)
DoubleKeyUrl

The double key url, if it is a double key template. Empty for single key

Id

The id of the action

(Inherited from Action)
TemplateId

The template id used to protect the document

Applies to