共用方式為


BulkDetectDuplicatesRequest.TemplateId Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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 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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright