OrganizationServiceContextExtensions.CreateActivitiesList Kaedah

Applies To: Microsoft Dynamics CRM 2015, Microsoft Dynamics CRM Online

Creates the activities for a list. (Developer Extensions)

Ruang nama: Microsoft.Xrm.Client.Messages
Perhimpunan: Microsoft.Xrm.Client (dalam Microsoft.Xrm.Client.dll)

'Penggunaan
Dim context As OrganizationServiceContext
Dim listId As Guid
Dim friendlyName As String
Dim activity As Entity
Dim templateId As Guid
Dim propagate As Boolean
Dim ownershipOptions As Object
Dim owner As EntityReference
Dim sendEmail As Boolean
Dim postWorkflowEvent As Boolean
Dim queueId As Guid
Dim returnValue As Guid

returnValue = OrganizationServiceContextExtensions.CreateActivitiesList(context, listId, friendlyName, activity, templateId, propagate, ownershipOptions, owner, sendEmail, postWorkflowEvent, queueId)

[ExtensionAttribute] 
public static Guid CreateActivitiesList (
	OrganizationServiceContext context,
	Guid listId,
	string friendlyName,
	Entity activity,
	Guid templateId,
	bool propagate,
	Object ownershipOptions,
	EntityReference owner,
	bool sendEmail,
	bool postWorkflowEvent,
	Guid queueId
)

Parameter

context

The organization service context.

listId

The ID of the list. Required.

friendlyName

A user-identifiable name for the campaign. Required.

activity

The activity to be distributed. Required.

templateId

The ID of the email template. Required.

propagate

A value that indicates whether the activity is created and executed. Required.

ownershipOptions

The propagation ownership options. Required.

owner

The owner for the activity. Required.

sendEmail

A value that indicates whether to send an email about the new activity. Required.

postWorkflowEvent

A value that indicates whether an asynchronous job is used to create the activities. Required.

queueId

The ID of the queue to which the created activities are added. Required.

Nilai Pulangan

Returns a Guid, the ID of the bulk operation created to distribute the campaign activity.

This is a method wrapper for the CreateActivitiesListRequest and CreateActivitiesListResponse classes. See the documentation in the Request class for more information about this message.


Sebarang ahli statik awam (Shared dalam Visual Basic) jenis ini adalah selamat rentetan. Dalam apa jua keadaan, ahli tidak dijamin selamat rentetan.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.
Tunjukkan: