Share via


BulkDetectDuplicatesRequest.TemplateId Property

Definition

Sets the ID of the template (email template) that is used for the email notification.

public:
 property Guid TemplateId { Guid get(); void set(Guid value); };
public Guid TemplateId { get; set; }
member this.TemplateId : Guid with get, set
Public Property TemplateId As Guid

Property Value

The ID of the template (email template) that is used for the email notification that corresponds to the TemplateId column, which is the primary key for the Template table.

Remarks

This property is required if the SendEmailNotification property is set to true; otherwise, it is optional. If you send a notification and this property is set to Guid.Empty, an exception is thrown.

This property is write-only. The TemplateId property corresponds to the Template.TemplateId column, which is the primary key for the Template table.

When you use the BulkDetectDuplicatesRequest class, you can only use a template of the Asyncoperation entity type. Use the Template.TemplateTypeCode attribute to set the template type. If you use a template of any other type, an exception is thrown.

Applies to