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)

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)

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



The organization service context.


The ID of the list. Required.


A user-identifiable name for the campaign. Required.


The activity to be distributed. Required.


The ID of the email template. Required.


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


The propagation ownership options. Required.


The owner for the activity. Required.


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


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


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.