Share via


BulkDetectDuplicatesRequest.TemplateId Property

 

Applies To: Dynamics CRM 2015

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

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

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

Property Value

Type: System.Guid

Type: Guid 
The ID of the template (email template) that is used for the email notification that corresponds to the TemplateId attribute, which is the primary key for the Template entity..

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 attribute, which is the primary key for the Template entity.

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.

See Also

BulkDetectDuplicatesRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright